Skip to content

Enable caching of npm install/npm ci for setup-node action #6571

Enable caching of npm install/npm ci for setup-node action

Enable caching of npm install/npm ci for setup-node action #6571

Workflow file for this run

name: 'test'
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- run: npm clean-install
- run: npm run format-check
- run: npm run lint-check
- run: npm run test