Skip to content

chore: node 20 gh

chore: node 20 gh #2

Workflow file for this run

name: 'build-test'
on:
push:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/setup-node
with:
node-version: '20'
- name: Cache Node.js modules
uses: actions/cache
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Build, format, lint, package, and run tests
run: npm run all
env:
CI: true