Support .mjs
and .mts
specifiers
#215
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: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
- 'v[0-9]+' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install --ignore-scripts | |
- run: echo "$PWD/node_modules/.bin" >> "$GITHUB_PATH" | |
- run: deno test --no-run | |
- run: deno lint | |
- run: src/cli.ts | |
- run: lib/cli.js --outDir nodejs/ | |
- run: git diff --no-index lib/ nodejs/ | |
- run: deno test --allow-read=. src/ | |
- run: fdt lib/**/*.test.js |