File tree 2 files changed +7
-13
lines changed
2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,13 @@ jobs:
11
11
steps :
12
12
- uses : actions/checkout@v2
13
13
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : " 10.x"
17
+
14
18
- name : setup env
15
19
run : |
16
- docker build -t mew-build-container .
17
- echo ::set-env name=NODE_VERSION::$(docker run --rm -v `pwd`:/home:rw mew-build-container /bin/bash -c "node --version")
20
+ echo ::set-env name=NODE_VERSION::$(node --version)
18
21
19
22
- name : Cache node modules
20
23
uses : actions/cache@v1
@@ -27,10 +30,10 @@ jobs:
27
30
${{ runner.os }}-build-${{ env.cache-name }}-${{env.NODE_VERSION}}-
28
31
29
32
- name : npm install
30
- run : docker run --rm -v `pwd`:/home:rw --user "$(id -u):$(id -g)" mew-build-container /bin/bash -c " npm install"
33
+ run : npm install
31
34
32
35
- name : build
33
- run : docker run --rm -v `pwd`:/home:rw --user "$(id -u):$(id -g)" mew-build-container /bin/bash -c " npm run build-storybook"
36
+ run : npm run build-storybook
34
37
35
38
- name : deploy to gh-pages
36
39
uses : JamesIves/github-pages-deploy-action@releases/v3
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments