Skip to content

chore(deps): update actions/setup-node action to v6.2.0 #974

chore(deps): update actions/setup-node action to v6.2.0

chore(deps): update actions/setup-node action to v6.2.0 #974

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
- next
pull_request:
branches:
- '**'
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
lint-and-typecheck:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # 6.2.0
with:
node-version: lts/*
cache: yarn
- name: install
run: yarn
- name: build
run: yarn build
- name: build types
run: yarn build-types
- name: run eslint
run: yarn lint
- name: run prettier
run: yarn prettier:check
test-node:
name: Test on Node.js v${{ matrix.node-version }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x, 24.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # 6.2.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: install
run: yarn
- name: build
run: yarn build
- name: build types
run: yarn build-types
- name: run tests
run: yarn test
test-os:
name: Test on ${{ matrix.os }} using Node.js LTS
strategy:
fail-fast: false
matrix:
os: [windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
with:
persist-credentials: false
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # 6.2.0
with:
node-version: lts/*
cache: yarn
- name: install
run: yarn
- name: build
run: yarn build
- name: build types
run: yarn build-types
- name: run tests
run: yarn test