Fix invalid.illegal await try
matching even with no word boundary (#6)
#9
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 20.9 | |
- run: corepack enable yarn | |
- run: yarn install --immutable | |
- 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 |