Editorial: Expand the "Syntax-Directed Operations" section #2609
Workflow file for this run
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: 'enforce format' | |
on: [pull_request] | |
jobs: | |
build: | |
name: 'enforce format' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ljharb/actions/node/install@6bc39109c48f74895ad72ec03ca0bb4e4da2fa3f | |
name: 'nvm install lts/* && npm ci --no-audit' | |
env: | |
NPM_CONFIG_AUDIT: false | |
with: | |
node-version: lts/* | |
use-npm-ci: true | |
- run: 'if ! npx emu-format --check spec.html; then echo "You need to run \`npm run format\`"; exit 1; fi' |