Upgrade dependencies and clean lock file #1949
This file contains hidden or 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: Unit Tests | |
on: push | |
permissions: read-all | |
jobs: | |
server: | |
name: Node.js v${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node: ["20", "22", "24"] | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3 | |
with: | |
node-version: ${{ matrix.node }} | |
# cache: npm | |
- run: npm ci | |
- run: npm run test:server | |
client: | |
name: Vitest on ${{ matrix.os }} (Node.js v${{ matrix.node }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node: ["22"] | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm ci | |
- run: npx playwright install | |
- run: npm run test:client | |
env: | |
YARN_GPG: no |