typescript-eslint 8.14 #351
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: Lint Web Build | |
'on': | |
push: | |
branches: | |
- '**' | |
paths: | |
- src/** | |
- wasm/* | |
- .clang-format | |
- .github/workflows/lint-web-build.yml | |
workflow_dispatch: ~ | |
jobs: | |
lint-npm: | |
runs-on: ubuntu-latest | |
name: Lint with JS Tools | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ^20.10 | |
- name: npm lint | |
shell: bash | |
run: | | |
cd wasm | |
npm ci --no-fund | |
npm run lint | |
verify-wasm-build: | |
runs-on: ubuntu-latest | |
name: Verify wasm build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: numworks/setup-emscripten@bbc4f5e15974bc13e69fdadecfd1858ecb1c4dbb | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ^20.10 | |
- name: Run build script | |
shell: bash | |
run: | | |
cd wasm | |
npm ci --omit dev --no-fund | |
npm run build lint |