Skip to content

chore(deps): update dependency node to v22 #1124

chore(deps): update dependency node to v22

chore(deps): update dependency node to v22 #1124

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["20.x"]
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install PNPM
uses: pnpm/[email protected]
- name: Install deps and build (with cache)
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test -- --ci --coverage --maxWorkers=2
- name: Build
run: pnpm build
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: pnpm/[email protected]
- name: Install deps and build (with cache)
run: pnpm install --no-frozen-lockfile
- run: pnpm test
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
debug: true