Skip to content

Commit 461999d

Browse files
committed
ci: bust cache of all workflows
1 parent 94c4cef commit 461999d

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ matrix.node-version }}
20+
cache: 'pnpm'
21+
- name: Cache NPM dependencies
22+
uses: actions/cache@v4
23+
id: cache
24+
with:
25+
path: node_modules
26+
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
2027
- run: pnpm run bootstrap
2128
- run: pnpm run lint
2229
- run: pnpm run build

.github/workflows/release-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: cache
2828
with:
2929
path: node_modules
30-
key: ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
30+
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
3131
- name: Set relevant environment variables
3232
run: |
3333
if [[ ${{ github.event.inputs.includeNext }} == 'true' ]]; then

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: cache
2424
with:
2525
path: node_modules
26-
key: ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
26+
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
2727
- run: pnpm run bootstrap
2828
- name: Create Release Pull Request or Publish to npm
2929
id: changesets

.github/workflows/sdk-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: cache
2727
with:
2828
path: node_modules
29-
key: ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
29+
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
3030
- run: pnpm run bootstrap
3131
- run: pnpm --filter "!colony-js" run build
3232
- run: pnpm --filter "sdk" run build-examples

0 commit comments

Comments
 (0)