Skip to content

chore(deps): upgrade to using Node 22 #385

chore(deps): upgrade to using Node 22

chore(deps): upgrade to using Node 22 #385

Workflow file for this run

name: Node CI
on:
push:
paths-ignore:
- "docs/**"
- README.md
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22
- name: Get cached dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Lint code
run: npm run lint:check
- name: Compile
run: npm run compile
# Use unit rather than `test` command, to skip the pretest step, otherwise
# that would duplicate the steps above.
- name: Unit tests (without coverage report)
run: npm run test:unit
env:
CI: true