Skip to content

Update node to 22.x #70

Update node to 22.x

Update node to 22.x #70

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: ESLint
run: npm run eslint
- name: Test
run: npm run test