Skip to content

build(deps): bump codecov/codecov-action from 3 to 4 #134

build(deps): bump codecov/codecov-action from 3 to 4

build(deps): bump codecov/codecov-action from 3 to 4 #134

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: [16, 18, 20]
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