chore: update awards (#22) #23
This file contains hidden or 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: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| - uses: actions/checkout@v2 | |
| - name: Test | |
| run: npm run test | |
| - name: Readme | |
| run: npm run readme | |
| - name: Check readme | |
| run: | | |
| if ! git diff --cached --exit-code; then | |
| echo "Error: README.md is not up to date. Please run 'npm run readme' and commit the changes." | |
| exit 1 | |
| else | |
| echo "README.md is up to date." | |
| fi |