File tree Expand file tree Collapse file tree 10 files changed +3393
-13653
lines changed Expand file tree Collapse file tree 10 files changed +3393
-13653
lines changed Original file line number Diff line number Diff line change @@ -12,29 +12,33 @@ jobs:
12
12
steps :
13
13
- name : Checkout Git repository
14
14
uses : actions/checkout@v3
15
+ - name : Setup pnpm
16
+ uses : pnpm/action-setup@v2
15
17
- name : Setup Node.js
16
18
uses : actions/setup-node@v3
17
19
with :
18
20
node-version : " 18"
19
- cache : " npm "
20
- cache-dependency-path : cli/package -lock.json
21
+ cache : " pnpm "
22
+ cache-dependency-path : cli/pnpm -lock.yaml
21
23
- name : 📦 Install dependencies
22
- run : npm ci
24
+ run : pnpm install
23
25
- name : ⚒️ Build
24
- run : npm run build
26
+ run : pnpm build
25
27
26
28
check_docs :
27
29
name : Check docs
28
30
runs-on : ubuntu-latest
29
31
steps :
30
32
- name : Checkout Git repository
31
33
uses : actions/checkout@v3
34
+ - name : Setup pnpm
35
+ uses : pnpm/action-setup@v2
32
36
- name : Setup Node.js
33
37
uses : actions/setup-node@v3
34
38
with :
35
39
node-version : " 18"
36
- cache : " npm "
40
+ cache : " pnpm "
37
41
- name : 📦 Install dependencies
38
- run : npm ci
42
+ run : pnpm install
39
43
- name : ⚒️ Build
40
- run : npm run docs:build
44
+ run : pnpm docs:build
Original file line number Diff line number Diff line change @@ -13,15 +13,17 @@ jobs:
13
13
steps :
14
14
- name : Checkout Git repository
15
15
uses : actions/checkout@v3
16
+ - name : Setup pnpm
17
+ uses : pnpm/action-setup@v2
16
18
- name : Setup Node
17
19
uses : actions/setup-node@v3
18
20
with :
19
21
node-version : " 18"
20
- cache : " npm "
21
- - name : Install node modules
22
- run : npm ci
23
- - name : Build
24
- run : npm run docs:build
22
+ cache : " pnpm "
23
+ - name : 📦 Install dependencies
24
+ run : pnpm install
25
+ - name : ⚒️ Build
26
+ run : pnpm docs:build
25
27
- name : Deploy
26
28
27
29
with :
Original file line number Diff line number Diff line change @@ -18,16 +18,18 @@ jobs:
18
18
uses : actions/checkout@v3
19
19
with :
20
20
fetch-depth : 0
21
+ - name : Setup pnpm
22
+ uses : pnpm/action-setup@v2
21
23
- name : Setup Node
22
24
uses : actions/setup-node@v3
23
25
with :
24
26
node-version : " 18"
25
- cache : " npm "
26
- cache-dependency-path : cli/package -lock.json
27
- - name : Install node modules
28
- run : npm ci
27
+ cache : " pnpm "
28
+ cache-dependency-path : cli/pnpm -lock.yaml
29
+ - name : 📦 Install dependencies
30
+ run : pnpm install
29
31
- name : Release
30
32
env :
31
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
34
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33
- run : npx semantic-release
35
+ run : pnpm semantic-release
You can’t perform that action at this time.
0 commit comments