Add project about section #25
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| - run: npm test | |
| - run: npm run build | |
| # Fails the build if someone forgot to commit the bundled dist/ output. | |
| # Without this check, users of @v1 can pull source changes without the | |
| # corresponding compiled bundle and the action will fail at runtime. | |
| - name: Verify dist/ is up to date | |
| run: | | |
| if [ -n "$(git status --porcelain dist/)" ]; then | |
| echo "::error::dist/ is out of date. Run 'npm run build' locally and commit the result." | |
| git status --porcelain dist/ | |
| git diff dist/ | |
| exit 1 | |
| fi |