File tree 2 files changed +34
-29
lines changed
2 files changed +34
-29
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-22.04
10
10
strategy :
11
11
matrix :
12
- node-version : [22]
13
- timeout-minutes : 5
14
-
12
+ node-version : [ 22 ]
13
+ timeout-minutes : 10
15
14
steps :
16
15
- name : Checkout
17
16
uses : actions/checkout@v4
18
17
18
+ - uses : pnpm/action-setup@v4
19
+ name : Install pnpm
20
+ with :
21
+ version : 9
22
+
19
23
- name : Install Node.js ${{ matrix.node-version }}
20
24
uses : actions/setup-node@v4
21
25
with :
22
26
node-version : ${{ matrix.node-version }}
23
27
cache : ' pnpm'
24
28
25
- - uses : pnpm/action-setup@v4
26
- name : Install pnpm
27
- with :
28
- version : 9
29
- run_install : true
29
+ - name : Install dependencies
30
+ run : pnpm install
30
31
31
32
- name : Lint code
32
33
run : pnpm format && pnpm lint:fix
@@ -45,24 +46,25 @@ jobs:
45
46
runs-on : ubuntu-22.04
46
47
strategy :
47
48
matrix :
48
- node-version : [22]
49
- timeout-minutes : 5
50
-
49
+ node-version : [ 22 ]
50
+ timeout-minutes : 10
51
51
steps :
52
52
- name : Checkout
53
53
uses : actions/checkout@v4
54
54
55
+ - uses : pnpm/action-setup@v4
56
+ name : Install pnpm
57
+ with :
58
+ version : 9
59
+
55
60
- name : Install Node.js ${{ matrix.node-version }}
56
61
uses : actions/setup-node@v4
57
62
with :
58
63
node-version : ${{ matrix.node-version }}
59
64
cache : ' pnpm'
60
65
61
- - uses : pnpm/action-setup@v4
62
- name : Install pnpm
63
- with :
64
- version : 9
65
- run_install : true
66
+ - name : Install dependencies
67
+ run : pnpm install
66
68
67
69
- name : Build
68
70
run : pnpm run build
@@ -78,17 +80,19 @@ jobs:
78
80
- name : Checkout
79
81
uses : actions/checkout@v4
80
82
83
+ - uses : pnpm/action-setup@v4
84
+ name : Install pnpm
85
+ with :
86
+ version : 9
87
+
81
88
- name : Install Node.js ${{ matrix.node-version }}
82
89
uses : actions/setup-node@v4
83
90
with :
84
91
node-version : ${{ matrix.node-version }}
85
92
cache : ' pnpm'
86
93
87
- - uses : pnpm/action-setup@v4
88
- name : Install pnpm
89
- with :
90
- version : 9
91
- run_install : true
94
+ - name : Install dependencies
95
+ run : pnpm install
92
96
93
97
- name : Build
94
98
run : pnpm run build
Original file line number Diff line number Diff line change @@ -20,27 +20,28 @@ jobs:
20
20
runs-on : ubuntu-22.04
21
21
strategy :
22
22
matrix :
23
- node-version : [22]
24
- timeout-minutes : 5
25
-
23
+ node-version : [ 22 ]
24
+ timeout-minutes : 10
26
25
steps :
27
26
- name : Checkout
28
27
uses : actions/checkout@v4
29
28
with :
30
29
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
31
30
fetch-depth : 0
32
31
32
+ - uses : pnpm/action-setup@v4
33
+ name : Install pnpm
34
+ with :
35
+ version : 9
36
+
33
37
- name : Install Node.js ${{ matrix.node-version }}
34
38
uses : actions/setup-node@v4
35
39
with :
36
40
node-version : ${{ matrix.node-version }}
37
41
cache : ' pnpm'
38
42
39
- - uses : pnpm/action-setup@v4
40
- name : Install pnpm
41
- with :
42
- version : 9
43
- run_install : true
43
+ - name : Install dependencies
44
+ run : pnpm install
44
45
45
46
- name : Create version pull request or publish to npm
46
47
uses : changesets/action@v1
You can’t perform that action at this time.
0 commit comments