File tree Expand file tree Collapse file tree 3 files changed +8
-37
lines changed
Expand file tree Collapse file tree 3 files changed +8
-37
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v3
1616 with :
1717 fetch-depth : 0
1818 - name : Setup Node
19- uses : actions/setup-node@v2
19+ uses : actions/setup-node@v3
2020 with :
2121 node-version : ' 18.5'
2222 cache : ' npm'
@@ -32,11 +32,11 @@ jobs:
3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Checkout
35- uses : actions/checkout@v2
35+ uses : actions/checkout@v3
3636 with :
3737 fetch-depth : 0
3838 - name : Setup Node
39- uses : actions/setup-node@v2
39+ uses : actions/setup-node@v3
4040 with :
4141 node-version : ' 18.5'
4242 cache : ' npm'
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1414 with :
1515 fetch-depth : 0
1616 - name : Setup Node
17- uses : actions/setup-node@v2
17+ uses : actions/setup-node@v3
1818 with :
1919 node-version : ' 18.5'
2020 - name : Install Packages
Original file line number Diff line number Diff line change 88 name : Build
99 runs-on : ubuntu-latest
1010 steps :
11- - name : Checkout
12- uses : actions/checkout@v2
11+ - uses : gravity-ui/preview-build-action@v1
1312 with :
14- fetch-depth : 0
15- - name : Setup Node
16- uses : actions/setup-node@v2
17- with :
18- node-version : ' 18.5'
19- - name : Install Packages
20- run : npm ci
21- shell : bash
22- - name : Build Storybook
23- run : npx storybook build
24- shell : bash
25- - name : Create Static Artifact
26- uses : actions/upload-artifact@v2
27- with :
28- name : static
29- path : ./storybook-static
30- - name : Save PR ID
31- run : |
32- pr="${{ inputs.pr }}"
33- if [[ -z "$pr" ]]; then
34- pr="${{ github.event.pull_request.number }}"
35- fi
36- echo $pr > ./pr-id.txt
37- shell : bash
38- - name : Create PR Artifact
39- uses : actions/upload-artifact@v2
40- with :
41- name : pr
42- path : ./pr-id.txt
13+ node-version : 18.5
You can’t perform that action at this time.
0 commit comments