Upgrade dependencies #19
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: | |
test: | |
name: test-${{ matrix.os }}-${{ matrix.node-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Test on the latest stable, and nightly | |
node-version: [ 18.x ] | |
deno-version: [ vx.x.x ] | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- run: node --version | |
# - name: Format | |
# if: runner.os == 'Linux' | |
# run: deno fmt --check | |
# - name: Lint | |
# if: runner.os == 'Linux' | |
# run: deno lint | |
- name: Install NPM dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn run build | |
- name: Test | |
run: yarn run test |