Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #101 from actions/npm-cached-test
Update npm cache usage in test workflow
  • Loading branch information
James M. Greene authored and GitHub committed Feb 1, 2023
2 parents 0243b6c + a47774e commit 51b5f46
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 51b5f46

Please sign in to comment.