Skip to content

Node 20

Node 20 #152

Workflow file for this run

name: CI
on: push
env:
PNPM_VERSION: 8
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 21]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup NodeJS ${{ matrix.node }}
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install
- run: pnpm start
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 21]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup NodeJS ${{ matrix.node }}
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install
- run: pnpm test -- --colors