ci: fix cannot create directory with mkdir (#19920)

* ci: fix cannot create directory with mkdir

* chore: retrigger
This commit is contained in:
只捱宅 2019-11-25 17:54:36 +08:00 committed by GitHub
parent a210784294
commit d8eb8ece4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ on: [push]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -21,7 +20,9 @@ jobs:
- name: hack for singe file
run: |
if [ ! -d "package-temp-dir" ]; then
mkdir package-temp-dir
fi
cp package-lock.json package-temp-dir
- name: cache node_modules
@ -37,7 +38,6 @@ jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -71,12 +71,10 @@ jobs:
- name: check
run: node ./tests/dekko/lib.test.js
needs: setup
dist:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -103,12 +101,10 @@ jobs:
run: npm test
env:
LIB_DIR: dist
needs: setup
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -127,12 +123,10 @@ jobs:
- name: lint
run: npm run lint
needs: setup
node:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -151,12 +145,10 @@ jobs:
- name: test
run: npm test
needs: setup
lib:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -183,12 +175,10 @@ jobs:
run: npm test
env:
LIB_DIR: lib
needs: compile
es:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
@ -215,5 +205,4 @@ jobs:
run: npm test
env:
LIB_DIR: es
needs: compile