Skip to content

Commit

Permalink
fix(install-dependencies): remove extra cache run
Browse files Browse the repository at this point in the history
the action has a post script where they already write back to s3 after the run
  • Loading branch information
tagoro9 committed Aug 1, 2024
1 parent 7fd00a4 commit ffeab27
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions install-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,3 @@ runs:
run: npm ci
env:
NPM_AUTH_TOKEN: ${{ inputs.npm-auth-token }}
- name: Cache node_modules
if: inputs.s3-bucket-name != '' && steps.read_cache.outputs.cache-hit != 'true'
uses: everpcpc/actions-cache@v2
id: write_cache
with:
bucket: ${{ inputs.s3-bucket-name }}
use-fallback: false
path: node_modules
key: ${{ env.cache-name }}-${{ steps.lockfile_hash.outputs.hash }}
restore-keys: ${{ env.cache-name }}-
env:
AWS_REGION: ${{ inputs.s3-bucket-region }}
cache-name: ${{ github.event.repository.name }}/cache-node-modules

0 comments on commit ffeab27

Please sign in to comment.