Merge pull request #678 from manics/update #816
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-and-update | |
on: | |
push: | |
branches-ignore: | |
- main | |
tags-ignore: | |
- '*' | |
jobs: | |
test-and-update: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
# Ensure this matches .github/workflows/test.yml and .gitpod.Dockerfile | |
node-version: '20' | |
cache: npm | |
# Runs format, updates dist, runs tests | |
- run: | | |
npm install | |
npm run all | |
git diff | |
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d | |
with: | |
commit_message: '[update-dist-bot] auto-format and update dist' | |
commit_user_name: update-dist-bot | |
commit_user_email: update-dist-bot@example.org | |
commit_author: 'update-dist-bot <update-dist-bot@example.org>' |