Skip to content

Commit

Permalink
fixing github action cache version issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-cognizant committed Feb 11, 2025
1 parent 7d1b145 commit 6f682da
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
- name: Cache Node.js modules # Add cache step
uses: actions/[email protected] # Update to v4.0.2 of actions/cache
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
uses: actions/checkout@v4

- name: Build and Publish
uses: DEFRA/cdp-build-action/build@main
Expand Down

0 comments on commit 6f682da

Please sign in to comment.