mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +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:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -21,7 +20,9 @@ jobs:
|
|||||||
|
|
||||||
- name: hack for singe file
|
- name: hack for singe file
|
||||||
run: |
|
run: |
|
||||||
mkdir package-temp-dir
|
if [ ! -d "package-temp-dir" ]; then
|
||||||
|
mkdir package-temp-dir
|
||||||
|
fi
|
||||||
cp package-lock.json package-temp-dir
|
cp package-lock.json package-temp-dir
|
||||||
|
|
||||||
- name: cache node_modules
|
- name: cache node_modules
|
||||||
@ -37,7 +38,6 @@ jobs:
|
|||||||
|
|
||||||
compile:
|
compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -71,12 +71,10 @@ jobs:
|
|||||||
|
|
||||||
- name: check
|
- name: check
|
||||||
run: node ./tests/dekko/lib.test.js
|
run: node ./tests/dekko/lib.test.js
|
||||||
|
|
||||||
needs: setup
|
needs: setup
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -103,12 +101,10 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
env:
|
env:
|
||||||
LIB_DIR: dist
|
LIB_DIR: dist
|
||||||
|
|
||||||
needs: setup
|
needs: setup
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -127,12 +123,10 @@ jobs:
|
|||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
needs: setup
|
needs: setup
|
||||||
|
|
||||||
node:
|
node:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -151,12 +145,10 @@ jobs:
|
|||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
needs: setup
|
needs: setup
|
||||||
|
|
||||||
lib:
|
lib:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -183,12 +175,10 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
env:
|
env:
|
||||||
LIB_DIR: lib
|
LIB_DIR: lib
|
||||||
|
|
||||||
needs: compile
|
needs: compile
|
||||||
|
|
||||||
es:
|
es:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@ -215,5 +205,4 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
env:
|
env:
|
||||||
LIB_DIR: es
|
LIB_DIR: es
|
||||||
|
|
||||||
needs: compile
|
needs: compile
|
||||||
|
Loading…
Reference in New Issue
Block a user