Skip to content

Commit 064e992

Browse files
committed
ci: use old version
1 parent 1062f23 commit 064e992

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,29 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v3
25-
- run: corepack enable
25+
2626
- uses: actions/setup-node@v3
2727
with:
2828
node-version: 18
29-
cache: 'pnpm'
29+
30+
- uses: pnpm/action-setup@v2
31+
with:
32+
version: 8
33+
run_install: false
34+
35+
- name: Get pnpm store directory
36+
id: pnpm-cache
37+
shell: bash
38+
run: |
39+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
40+
41+
- uses: actions/cache@v3
42+
name: Setup pnpm cache
43+
with:
44+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
45+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46+
restore-keys: |
47+
${{ runner.os }}-pnpm-store-
3048
3149
- name: Cache firebase tools
3250
id: cache-firebase-tools
@@ -45,9 +63,7 @@ jobs:
4563
run: pnpm install --frozen-lockfile
4664

4765
- name: Install firebase-tools
48-
run: |
49-
- pnpm setup
50-
- pnpm add -g firebase-tools
66+
run: pnpm add -g firebase-tools
5167

5268
- name: Lint
5369
run: pnpm run lint

0 commit comments

Comments
 (0)