mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
ci: fix cannot create directory with mkdir (#19920)
* ci: fix cannot create directory with mkdir * chore: retrigger
This commit is contained in:
parent
a210784294
commit
d8eb8ece4b
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@ -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: |
|
||||
mkdir package-temp-dir
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user