Skip to content

Commit

Permalink
cicd: use npm cache (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
agerard-godaddy authored May 4, 2023
1 parent cc65c46 commit fd498a1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install Dependencies
run: npm ci
run: npm ci --prefer-offline

- name: Build
run: npm run build

- name: Run Tests & Lint
run: npm test

0 comments on commit fd498a1

Please sign in to comment.