Improve assertScopes, add some regex tests (#25) #42
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: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 24 | |
- run: corepack enable yarn | |
- run: yarn install --immutable | |
- run: yarn lint | |
- run: yarn typecheck | |
- run: yarn build | |
- name: Ensure generated files are up to date | |
run: | | |
changes=$(git status --porcelain) | |
if [ -n "$changes" ]; then | |
echo "::error::The following generated files need to be updated. Run 'yarn build' to update them." | |
echo "$changes" | |
exit 1 | |
else | |
echo "Generated files are up to date!" | |
fi | |
- run: yarn test:ci |