chore(release): Use release-please #577
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Test" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: | | |
yarn | |
- run: | | |
yarn all | |
- name: Check for diff | |
id: diff | |
run: echo "::set-output name=GIT_STATUS::$(git status -s dist/)" | |
- name: Push build | |
if: ${{ steps.diff.outputs.GIT_STATUS != '' }} | |
run: | | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add dist/* | |
git commit -m "chore: Build Source" | |
git push |