Skip to content

chore(deps): update node.js to v20 - autoclosed #1419

chore(deps): update node.js to v20 - autoclosed

chore(deps): update node.js to v20 - autoclosed #1419

Workflow file for this run

name: build and test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run ESLint
run: pnpm lint
- name: Run compile and build packages
run: pnpm build
- name: Run tests and collect coverage
run: pnpm test:coverage
- name: Upload coverage reports
uses: codecov/codecov-action@v4