File tree 1 file changed +20
-22
lines changed
1 file changed +20
-22
lines changed Original file line number Diff line number Diff line change 1
1
name : Integration Tests
2
2
on :
3
3
push :
4
- branches :
5
- - " *"
4
+ branches : ["*"]
6
5
pull_request :
7
- branches :
8
- - " *"
6
+ branches : ["*"]
9
7
10
8
jobs :
11
9
integration-tests :
@@ -15,26 +13,27 @@ jobs:
15
13
steps :
16
14
- uses : actions/checkout@v4
17
15
18
- - uses : pnpm/action-setup@v3
16
+ - name : Setup Node.js
17
+ uses : actions/setup-node@v4
19
18
with :
20
- version : 9.15.0
19
+ node- version : ' 23.3 '
21
20
22
- - uses : actions/setup-node@v4
21
+ - name : Cache pnpm
22
+ uses : actions/cache@v4
23
23
with :
24
- node-version : " 23.3.0"
25
- cache : ' pnpm'
26
- cache-dependency-path : ' **/pnpm-lock.yaml'
27
-
28
- - name : Configure pnpm
29
- run : |
30
- pnpm config set store-dir ~/.pnpm-store
31
- pnpm config set prefer-offline true
32
- pnpm config set node-linker hoisted
33
- pnpm config set shamefully-hoist true
34
- pnpm config list
35
-
24
+ path : |
25
+ ~/.pnpm-store
26
+ **/node_modules
27
+ key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
28
+ restore-keys : ${{ runner.os }}-pnpm-
29
+
30
+ - name : Setup pnpm
31
+ uses : pnpm/action-setup@v3
32
+ with :
33
+ version : 9.15.0
34
+
36
35
- name : Install dependencies
37
- run : pnpm install -r -- no-frozen-lockfile --prefer-offline
36
+ run : pnpm install -- no-frozen-lockfile
38
37
39
38
- name : Build packages
40
39
run : pnpm build
43
42
env :
44
43
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
45
44
COINBASE_COMMERCE_KEY : ${{ secrets.COINBASE_COMMERCE_KEY }}
46
- run : |
47
- pnpm run integrationTests
45
+ run : pnpm run integrationTests
You can’t perform that action at this time.
0 commit comments