upgrade gh actions; try to fix tests by upgrading webpack; fix `deno … #15
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test | |
runs-on: Ubuntu-20.04 | |
steps: | |
- uses: denolib/setup-deno@v2 | |
with: | |
deno-version: 2.x | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.yarn/cache | |
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} | |
- name: Fetch dependencies | |
run: yarn --immutable | |
- name: Test | |
run: yarn test |