Skip to content

Commit

Permalink
Add missing npm install to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Dec 18, 2023
1 parent 6d5b550 commit c54b7f6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build and deploy
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- uses: actions/cache@v3
id: cache-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.cache-modules.outputs.cache-hit != 'true'
run: |
npm ci
- name: Deploy
run: |
npm run deploy

0 comments on commit c54b7f6

Please sign in to comment.