Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/actions/composite/setupNode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ inputs:
description: 'Indicates if node is set up for hybrid app'
required: false
default: 'false'
SEED_STICKY_DISKS:
description: |
'true' only in the seedStickyDisks workflow, which installs dependencies and nothing else.
Everywhere else the disks are mounted read-through so no job can persist build artifacts or
tool caches into the snapshot.
required: false
default: 'false'

outputs:
cache-hit:
Expand Down Expand Up @@ -43,23 +36,20 @@ runs:
with:
key: ${{ format('{0}-{1}-{2}-node-modules-{3}', github.repository, runner.os, runner.arch, inputs.IS_HYBRID_BUILD == 'true' && hashFiles('normalized-package-lock.json', 'patches/**', 'Mobile-Expensify/patches/**') || hashFiles('normalized-package-lock.json', 'patches/**')) }}
path: node_modules
commit: ${{ inputs.SEED_STICKY_DISKS == 'true' && 'if-missing' || 'false' }}

- id: stickydisk-old-dot-node-modules
if: steps.runner-info.outputs.use-sticky-disk == 'true' && inputs.IS_HYBRID_BUILD == 'true'
uses: useblacksmith/stickydisk@6d373c96a74cbde0c99fedc5ea5d3a7ba66ba494 # v1.4.0
with:
key: ${{ format('{0}-{1}-{2}-old-dot-node-modules-{3}', github.repository, runner.os, runner.arch, hashFiles('Mobile-Expensify/package-lock.json', 'Mobile-Expensify/patches/**')) }}
path: Mobile-Expensify/node_modules
commit: ${{ inputs.SEED_STICKY_DISKS == 'true' && 'if-missing' || 'false' }}

- id: stickydisk-npm
if: steps.runner-info.outputs.use-sticky-disk == 'true'
uses: useblacksmith/stickydisk@6d373c96a74cbde0c99fedc5ea5d3a7ba66ba494 # v1.4.0
with:
key: ${{ format('{0}-{1}-{2}-npm', github.repository, runner.os, runner.arch) }}
path: ~/.npm
commit: on-change

- id: cache-node-modules
if: steps.runner-info.outputs.use-sticky-disk != 'true'
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/seedStickyDisks.yml

This file was deleted.

Loading