Skip to content

chore: upgrade nodejs to maintenance and lts (18 and 20) #77

chore: upgrade nodejs to maintenance and lts (18 and 20)

chore: upgrade nodejs to maintenance and lts (18 and 20) #77

Workflow file for this run

name: Test and build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: 'npm'
- run: npm install --frozen-lockfile
- run: npm run test
- run: npm run build