Name change & version & deps update #79
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: Run tests before merging | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches: | |
- master | |
jobs: | |
run-tests-macos-18: | |
name: 'macOS (Node 18, Deno 1.36, Java 21)' | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '18' | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
with: | |
distribution: 'microsoft' | |
java-version: '21' | |
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba | |
with: | |
deno-version: '~1.36' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: deno test --import-map=import_map.json test | |
env: | |
DENO_NO_PACKAGE_JSON: 1 | |
run-tests-windows-18: | |
name: 'Windows (Node 18, Deno 1.36, Java 21)' | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '18' | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
with: | |
distribution: 'semeru' | |
java-version: '21' | |
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba | |
with: | |
deno-version: '~1.36' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: deno test --import-map=import_map.json test | |
env: | |
DENO_NO_PACKAGE_JSON: 1 | |
run-tests-ubuntu-18: | |
name: 'Ubuntu (Node 18, Deno 1.36, Java 21)' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '18' | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
with: | |
distribution: 'oracle' | |
java-version: '21' | |
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba | |
with: | |
deno-version: '~1.36' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: deno test --import-map=import_map.json test | |
env: | |
DENO_NO_PACKAGE_JSON: 1 | |
run-tests-ubuntu-20: | |
name: 'Ubuntu (Node 20, Deno 1.40, Java 21)' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '20' | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba | |
with: | |
deno-version: '~1.40' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: deno test --import-map=import_map.json test | |
env: | |
DENO_NO_PACKAGE_JSON: 1 | |
run-tests-ubuntu-22: | |
name: 'Ubuntu (Node 22, Deno 1.44, Java 21)' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '22' | |
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba | |
with: | |
deno-version: '~1.44' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: deno test --import-map=import_map.json test | |
env: | |
DENO_NO_PACKAGE_JSON: 1 |