Skip to content

Commit 0962481

Browse files
committed
2 parents 47f1929 + 6a1e700 commit 0962481

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
run:
1818
working-directory: ${{ matrix.working-directory }}
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- uses: pnpm/action-setup@v3
2222
with:
2323
version: ${{ matrix.pnpm }}
@@ -27,6 +27,9 @@
2727
with:
2828
node-version: ${{ matrix.node }}
2929
cache: 'pnpm'
30+
cache-dependency-path: |
31+
./code/client/package.json
32+
./code/client/pnpm-lock.yaml
3033
3134
- name: Install dependencies
3235
run: pnpm install
@@ -49,16 +52,20 @@
4952
run:
5053
working-directory: ${{ matrix.working-directory }}
5154
steps:
52-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5356
- uses: pnpm/action-setup@v3
5457
with:
55-
version: ${{ matrix.pnpm }}º
56-
cache: 'pnpm'
58+
version: ${{ matrix.pnpm }}
5759

5860
- name: Set up Node.js
5961
uses: actions/setup-node@v4
6062
with:
6163
node-version: ${{ matrix.node }}
64+
cache: 'pnpm'
65+
cache-dependency-path: |
66+
./code/server/package.json
67+
./code/server/pnpm-lock.yaml
68+
6269
6370
- name: Install dependencies
6471
run: pnpm install
@@ -80,16 +87,19 @@
8087
run:
8188
working-directory: ${{ matrix.working-directory }}
8289
steps:
83-
- uses: actions/checkout@v3
90+
- uses: actions/checkout@v4
8491
- uses: pnpm/action-setup@v3
8592
with:
8693
version: ${{ matrix.pnpm }}
87-
94+
8895
- name: Set up Node.js
8996
uses: actions/setup-node@v4
9097
with:
9198
node-version: ${{ matrix.node }}
9299
cache: 'pnpm'
100+
cache-dependency-path: |
101+
./code/shared/package.json
102+
./code/shared/pnpm-lock.yaml
93103
94104
- name: Install dependencies
95105
run: pnpm install

0 commit comments

Comments
 (0)