Skip to content

Commit

Permalink
Update pipeline commands
Browse files Browse the repository at this point in the history
  • Loading branch information
AshakaE committed Jul 31, 2024
1 parent 526bb0e commit 6054fb9
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit == false }}
name: List the state of node modules
continue-on-error: true
run: npm list
- name: Clear npm cache
run: npm cache clean --force
node-version: '20.x'
- name: Installing dependencies
run: npm ci
- name: Build
Expand Down

0 comments on commit 6054fb9

Please sign in to comment.