Skip to content

chore: upgrade dependencies #71

chore: upgrade dependencies

chore: upgrade dependencies #71

Workflow file for this run

name: validate
on: [push, pull_request]
jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '20' ]
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- name: Build
run: yarn run build
- name: Run test
run: yarn run test
- uses: cypress-io/github-action@v6
with:
install-command : yarn install --immutable --immutable-cache
# fix issue with "Cannot find module 'cypress'"
# https://github.com/cypress-io/github-action/issues/430#issuecomment-949936528
command: yarn test:e2e
start: yarn start-test-server
wait-on: "http://localhost:8888"
wait-on-timeout: 5