Skip to content

Remove npm cache from Node 22 workflow #4

Remove npm cache from Node 22 workflow

Remove npm cache from Node 22 workflow #4

name: Node 22 Compile and Test
on:
push:
pull_request:
jobs:
compile-and-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Compile
run: npm run compile
- name: Test
run: xvfb-run -a npm test
env:
JSDBG_TEST_VERSION: insiders
JSDBG_USE_NODE_VERSION: '22'