Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update npm cache usage in test workflow
  • Loading branch information
James M. Greene authored and GitHub committed Feb 1, 2023
1 parent 0243b6c commit a47774e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -12,15 +12,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set Node.JS
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm ci

- name: Run tests
run: npm run test

# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
if: github.ref_name == 'main'
Expand Down

0 comments on commit a47774e

Please sign in to comment.