Skip to content

Updating to node v20 and fixing tests #244

Updating to node v20 and fixing tests

Updating to node v20 and fixing tests #244

Workflow file for this run

name: Node.js test
on:
pull_request:
branches: [main]
defaults:
run:
working-directory: admin-support-cli
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
cache-dependency-path: admin-support-cli/package-lock.json
- run: npm install --ignore-scripts --pure-lockfile
- run: npm run build --if-present
- run: npm run test --if-present