chore: skip APIScan for l10n-dev (#162) #255
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: | |
branches: | |
- main | |
jobs: | |
ci-ubuntu: | |
strategy: | |
matrix: | |
version: [18] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.version }} | |
- run: npm ci | |
- run: npm run build-wasm | |
working-directory: l10n-dev | |
- uses: actions/upload-artifact@v3 | |
name: upload tree-sitter-tsx.wasm | |
with: | |
name: tree-sitter-tsx.wasm | |
path: l10n-dev/src/ast/tree-sitter-tsx.wasm | |
- uses: actions/upload-artifact@v3 | |
name: upload tree-sitter-typescript.wasm | |
with: | |
name: tree-sitter-typescript.wasm | |
path: l10n-dev/src/ast/tree-sitter-typescript.wasm | |
- run: npm test | |
ci-windows: | |
needs: ci-ubuntu | |
strategy: | |
matrix: | |
version: [18] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.version }} | |
- run: npm ci | |
- uses: actions/download-artifact@v3 | |
name: download tree-sitter-tsx.wasm | |
with: | |
name: tree-sitter-tsx.wasm | |
path: l10n-dev/src/ast | |
- uses: actions/download-artifact@v3 | |
name: download tree-sitter-typescript.wasm | |
with: | |
name: tree-sitter-typescript.wasm | |
path: l10n-dev/src/ast | |
- run: npm test |