File tree 3 files changed +37
-19
lines changed
3 files changed +37
-19
lines changed Original file line number Diff line number Diff line change 8
8
eslint :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
13
- with :
14
- node-version : ' 16'
15
- cache : ' yarn'
16
- - run : yarn install
17
- - run : yarn lint
11
+ - uses : actions/checkout@v3
12
+
13
+ - name : Setup pnpm
14
+
15
+ with :
16
+ version : 9.15.0
17
+
18
+ - uses : actions/setup-node@v3
19
+ with :
20
+ node-version : ' 20'
21
+ cache : ' pnpm'
22
+
23
+ - run : pnpm install
24
+ - run : pnpm lint
Original file line number Diff line number Diff line change 9
9
strategy :
10
10
matrix :
11
11
platform : [ubuntu-latest, macos-latest]
12
- node-version : [16 ]
12
+ node-version : [20 ]
13
13
runs-on : ${{ matrix.platform }}
14
14
steps :
15
- - uses : actions/checkout@v2
16
- - uses : actions/setup-node@v2
15
+ - uses : actions/checkout@v3
16
+
17
+ - name : Setup pnpm
18
+
19
+ with :
20
+ version : 9.15.0
21
+
22
+ - uses : actions/setup-node@v3
17
23
with :
18
24
node-version : ${{ matrix.node-version }}
25
+
19
26
- name : Install dependencies
20
- run : yarn
27
+ run : pnpm install
28
+
21
29
- name : Run tests
22
- run : yarn test:sandbox:ci-with-ignore --fail-fast
30
+ run : pnpm test:sandbox:ci-with-ignore --fail-fast
Original file line number Diff line number Diff line change 6
6
main
7
7
8
8
env :
9
- NODE_VERSION : 18 .x.x
9
+ NODE_VERSION : 20 .x.x
10
10
ENTRY_FILE : ' packages'
11
11
CONFIG_PATH : ' tsconfig.base.json'
12
12
USES_PNPM : ' true'
@@ -20,21 +20,24 @@ jobs:
20
20
steps :
21
21
- uses : actions/checkout@v4
22
22
23
+ - name : Setup pnpm
24
+
25
+ with :
26
+ version : 9.15.0
27
+
23
28
- uses : actions/setup-node@v3
24
29
with :
25
30
node-version : ${{ env.NODE_VERSION }}
26
-
27
- - name : Install yarn
28
- run : npm install -g yarn
31
+ cache : ' pnpm'
29
32
30
33
- name : Install dependencies
31
- run : yarn install
34
+ run : pnpm install
32
35
33
36
- name : Build project
34
- run : yarn build
37
+ run : pnpm build
35
38
36
39
- name : Build documentation
37
- run : yarn docs:generate
40
+ run : pnpm docs:generate
38
41
39
42
- name : Deploy to GitHub pages
40
43
uses : JamesIves/github-pages-deploy-action@v4
You can’t perform that action at this time.
0 commit comments