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
14 changes: 8 additions & 6 deletions .github/actions/composite/setupNode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,25 @@ runs:
shell: bash
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json

- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e #v4
- id: setup-node
# v6.1.0
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
with:
node-version-file: '.nvmrc'
cache: npm
cache: 'npm'
cache-dependency-path: normalized-package-lock.json

- id: cache-node-modules
# v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: node_modules
key: ${{ inputs.IS_HYBRID_BUILD == 'true' && format('{0}-node-modules-{1}', runner.os, hashFiles('package-lock.json', 'patches/**', 'Mobile-Expensify/patches/**')) || format('{0}-node-modules-{1}', runner.os, hashFiles('package-lock.json', 'patches/**'))}}

- id: cache-old-dot-node-modules
if: inputs.IS_HYBRID_BUILD == 'true'
# v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: Mobile-Expensify/node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('Mobile-Expensify/package-lock.json', 'Mobile-Expensify/patches/**') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json

- name: Restore cspell cache
# v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: .cspellcache
key: cspell-${{ runner.os }}-${{ hashFiles('cspell.json', 'normalized-package-lock.json') }}-${{ github.sha }}
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Save cspell cache
# v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb
if: always()
with:
path: .cspellcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ jobs:
run: bundle install

- name: Cache Pod dependencies
# v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
id: pods-cache
with:
path: Mobile-Expensify/iOS/Pods
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployNewHelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:

# Install Node for _scripts/*.js
- name: Set up Node.js
# v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
# v6.0.1
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
with:
node-version-file: '.nvmrc'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json

- name: Restore ESLint cache
# v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: node_modules/.cache/eslint-changed
key: ${{ runner.os }}-eslint-changed-${{ hashFiles('eslint.changed.config.*', 'normalized-package-lock.json') }}-${{ github.sha }}
Expand All @@ -81,8 +81,8 @@ jobs:
fi

- name: Save ESLint cache
# v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb
if: always()
with:
path: node_modules/.cache/eslint-changed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json

- name: Restore ESLint cache
# v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: node_modules/.cache/eslint
key: ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.*', 'normalized-package-lock.json') }}-${{ github.sha }}
Expand All @@ -52,8 +52,8 @@ jobs:
CI: true

- name: Save ESLint cache
# v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb
if: always()
with:
path: node_modules/.cache/eslint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: Cache Jest cache
id: cache-jest-cache
# v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
with:
path: .jest-cache
key: ${{ runner.os }}-jest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verifyHybridApp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ jobs:
bundler-cache: true

- name: Cache Pod dependencies
# v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v5.0.1
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
id: pods-cache
with:
path: Mobile-Expensify/iOS/Pods
Expand Down