@@ -118,12 +118,12 @@ jobs: |
118 | 118 | path: artifacts/build.tar.zst |
119 | 119 | compression-level: 0 # don't re-compress compressed data |
120 | 120 | - name: debug node_modules cache key |
121 | | - run: find . -name .nvmrc -o -name package-lock.json -print0 | xargs -0 md5sum |
| 121 | + run: md5sum .nvmrc package-lock.json |
122 | 122 | - name: save node_modules for other jobs |
123 | 123 | uses: actions/cache/save@v4 |
124 | 124 | with: |
125 | 125 | path: node_modules |
126 | | - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/.nvmrc', '**/package-lock.json') }} |
| 126 | + key: ${{ runner.os }}-node_modules-${{ hashFiles('.nvmrc', 'package-lock.json') }} |
127 | 127 | deploy: |
128 | 128 | runs-on: ubuntu-latest |
129 | 129 | needs: [set-environment, build] |
@@ -135,13 +135,13 @@ jobs: |
135 | 135 | with: |
136 | 136 | node-version-file: '.nvmrc' |
137 | 137 | - name: debug node_modules cache key |
138 | | - run: find . -name .nvmrc -o -name package-lock.json -print0 | xargs -0 md5sum |
| 138 | + run: md5sum .nvmrc package-lock.json |
139 | 139 | - name: retrieve node_modules |
140 | 140 | uses: actions/cache/restore@v4 |
141 | 141 | with: |
142 | 142 | fail-on-cache-miss: true |
143 | 143 | path: node_modules |
144 | | - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/.nvmrc', '**/package-lock.json') }} |
| 144 | + key: ${{ runner.os }}-node_modules-${{ hashFiles('.nvmrc', 'package-lock.json') }} |
145 | 145 | - name: setup Python |
146 | 146 | uses: actions/setup-python@v5 |
147 | 147 | with: |
@@ -193,7 +193,7 @@ jobs: |
193 | 193 | with: |
194 | 194 | fail-on-cache-miss: true |
195 | 195 | path: node_modules |
196 | | - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/.nvmrc', '**/package-lock.json') }} |
| 196 | + key: ${{ runner.os }}-node_modules-${{ hashFiles('.nvmrc', 'package-lock.json') }} |
197 | 197 | - name: download artifacts |
198 | 198 | uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 |
199 | 199 | with: |
|