⬆️ Install firefox in the CI env #188
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: Deno tests | |
on: | |
pull_request: | |
branches: | |
- "**" | |
push: | |
branches: | |
- master | |
- dev | |
workflow_dispatch: | |
jobs: | |
deno-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.version }} | |
cache: "npm" | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Unit tests | |
run: npm run test:deno |