Skip to content

Commit

Permalink
Remove caching from this action (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdlaar authored Aug 16, 2021
1 parent 3bc652a commit 506b83d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ inputs:
description: 'Directory of the yarn.lock'
required: true
default: './'
yarn-cache:
description: 'Path to yarn cache'
required: true
default: /tmp/yarn-cache
npm-version:
description: 'Path to yarn cache'
required: true
default: /tmp/yarn-cache
outputs:
diff:
description: "Script output with the changed versions"
Expand All @@ -26,12 +18,12 @@ runs:
- name: Install outdated tool
shell: bash
run: |
yarn global add check-outdated --preferred-cache-folder ${{ inputs.yarn-cache }}
yarn global add check-outdated
echo "$(yarn global bin)" >> $GITHUB_PATH
- name: Install dependencies
shell: bash
run: yarn install --no-progress --preferred-cache-folder ${{ inputs.yarn-cache }} --cwd ${{ inputs.working-dir }}
run: yarn install --no-progress --cwd ${{ inputs.working-dir }}

- name: Check pre update outdated
shell: bash
Expand All @@ -42,7 +34,7 @@ runs:
- name: Upgrade dependencies
shell: bash
run: yarn upgrade --no-progress --preferred-cache-folder ${{ inputs.yarn-cache }} --cwd ${{ inputs.working-dir }}
run: yarn upgrade --no-progress --cwd ${{ inputs.working-dir }}

- name: Check yarn outdated
shell: bash
Expand Down

0 comments on commit 506b83d

Please sign in to comment.