Skip to content

Update dependencies #141

Update dependencies

Update dependencies #141

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
node-version: [18, 20, 22]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install --ignore-scripts
- name: Test (Node.js)
run: npm test
- name: Test (Edge Runtime)
run: npm run test:environment:edge
- name: Test (Browser)
run: npm run test:environment:browser