File tree Expand file tree Collapse file tree 7 files changed +63
-21
lines changed Expand file tree Collapse file tree 7 files changed +63
-21
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,22 @@ jobs:
18
18
- name : Check out code
19
19
uses : actions/checkout@v3
20
20
21
+ - name : Setup pnpm
22
+ uses : pnpm/action-setup@v2
23
+ with :
24
+ version : 8
25
+
21
26
- name : Set up Node.js
22
27
uses : actions/setup-node@v3
23
28
with :
24
- node-version : 18
29
+ node-version : 20
30
+ cache : ' pnpm'
25
31
26
32
- name : Install dependencies
27
- run : yarn install
33
+ run : pnpm install
28
34
29
35
- name : Install ts-node
30
- run : yarn global add ts-node
36
+ run : pnpm add -g ts-node
31
37
32
38
- name : Set up git
33
39
run : |
Original file line number Diff line number Diff line change @@ -10,16 +10,22 @@ jobs:
10
10
- name : Check out code
11
11
uses : actions/checkout@v3
12
12
13
+ - name : Setup pnpm
14
+ uses : pnpm/action-setup@v2
15
+ with :
16
+ version : 8
17
+
13
18
- name : Set up Node.js
14
19
uses : actions/setup-node@v3
15
20
with :
16
- node-version : 18
21
+ node-version : 20
22
+ cache : ' pnpm'
17
23
18
24
- name : Install dependencies
19
- run : yarn install
25
+ run : pnpm install
20
26
21
27
- name : Install ts-node
22
- run : yarn global add ts-node
28
+ run : pnpm add -g ts-node
23
29
24
30
- name : Run script
25
31
run : npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/reports/generateReviewReport.ts
Original file line number Diff line number Diff line change @@ -12,16 +12,22 @@ jobs:
12
12
- name : Check out code
13
13
uses : actions/checkout@v3
14
14
15
+ - name : Setup pnpm
16
+ uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
19
+
15
20
- name : Set up Node.js
16
21
uses : actions/setup-node@v3
17
22
with :
18
- node-version : 18
23
+ node-version : 20
24
+ cache : ' pnpm'
19
25
20
26
- name : Install dependencies
21
- run : yarn install
27
+ run : pnpm install
22
28
23
29
- name : Install ts-node
24
- run : yarn global add ts-node
30
+ run : pnpm add -g ts-node
25
31
26
32
- name : Set up git
27
33
run : |
Original file line number Diff line number Diff line change @@ -12,16 +12,22 @@ jobs:
12
12
- name : Check out code
13
13
uses : actions/checkout@v3
14
14
15
+ - name : Setup pnpm
16
+ uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
19
+
15
20
- name : Set up Node.js
16
21
uses : actions/setup-node@v3
17
22
with :
18
- node-version : 18
23
+ node-version : 20
24
+ cache : ' pnpm'
19
25
20
26
- name : Install dependencies
21
- run : yarn install
27
+ run : pnpm install
22
28
23
29
- name : Install ts-node
24
- run : yarn global add ts-node
30
+ run : pnpm add -g ts-node
25
31
26
32
- name : Set up git
27
33
run : |
Original file line number Diff line number Diff line change @@ -12,16 +12,22 @@ jobs:
12
12
- name : Check out code
13
13
uses : actions/checkout@v3
14
14
15
+ - name : Setup pnpm
16
+ uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
19
+
15
20
- name : Set up Node.js
16
21
uses : actions/setup-node@v3
17
22
with :
18
- node-version : 18
23
+ node-version : 20
24
+ cache : ' pnpm'
19
25
20
26
- name : Install dependencies
21
- run : yarn install
27
+ run : pnpm install
22
28
23
29
- name : Install ts-node
24
- run : yarn global add ts-node
30
+ run : pnpm add -g ts-node
25
31
26
32
- name : Set up git
27
33
run : |
Original file line number Diff line number Diff line change @@ -12,13 +12,19 @@ jobs:
12
12
- name : Check out code
13
13
uses : actions/checkout@master
14
14
15
+ - name : Setup pnpm
16
+ uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
19
+
15
20
- name : Set up Node.js
16
21
uses : actions/setup-node@v3
17
22
with :
18
- node-version : 18
23
+ node-version : 20
24
+ cache : ' pnpm'
19
25
20
26
- name : Install dependencies
21
- run : yarn install
27
+ run : pnpm install
22
28
23
29
- name : Set up git
24
30
run : |
37
43
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
38
44
39
45
- name : Run script
40
- run : yarn events-import
46
+ run : pnpm events-import
41
47
env :
42
48
GOOGLE_API_KEY : ${{ secrets.GOOGLE_API_KEY }}
43
49
Original file line number Diff line number Diff line change @@ -13,16 +13,22 @@ jobs:
13
13
- name : Checkout repository
14
14
uses : actions/checkout@v4
15
15
16
+ - name : Setup pnpm
17
+ uses : pnpm/action-setup@v2
18
+ with :
19
+ version : 8
20
+
16
21
- name : Set up Node.js
17
22
uses : actions/setup-node@v3
18
23
with :
19
- node-version : ' 20'
24
+ node-version : 20
25
+ cache : ' pnpm'
20
26
21
27
- name : Install dependencies
22
- run : yarn install
28
+ run : pnpm install
23
29
24
30
- name : Install ts-node
25
- run : yarn global add ts-node
31
+ run : pnpm add -g ts-node
26
32
27
33
- name : Update chains data
28
34
run : npx ts-node -O '{"module":"commonjs"}' ./src/scripts/update-chains.ts
You can’t perform that action at this time.
0 commit comments