Skip to content

Commit 8f16e2b

Browse files
committedApr 1, 2020
remove docker
1 parent c53e537 commit 8f16e2b

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed
 

‎.github/workflows/publish-to-gh-pages.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313

14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "10.x"
17+
1418
- name: setup env
1519
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)
1821
1922
- name: Cache node modules
2023
uses: actions/cache@v1
@@ -27,10 +30,10 @@ jobs:
2730
${{ runner.os }}-build-${{ env.cache-name }}-${{env.NODE_VERSION}}-
2831
2932
- 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
3134

3235
- 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
3437

3538
- name: deploy to gh-pages
3639
uses: JamesIves/github-pages-deploy-action@releases/v3

‎Dockerfile

-9
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.