mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore: use npm ci instead of yarn in ci (#45980)
* chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci * chore: use npm ci instead of yarn in ci
This commit is contained in:
parent
4baef311f8
commit
e778066ada
@ -40,9 +40,17 @@ jobs:
|
||||
echo "whitelisted=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: install dependencies
|
||||
if: ${{ steps.check_user.outputs.whitelisted == 'true' }}
|
||||
run: yarn
|
||||
- name: cache package-lock.json
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: package-temp-dir
|
||||
key: lock-${{ github.sha }}
|
||||
|
||||
- name: create package-lock.json
|
||||
run: npm i --package-lock-only --ignore-scripts
|
||||
|
||||
- name: install
|
||||
run: npm install
|
||||
|
||||
- name: Build dist file
|
||||
id: build
|
||||
|
Loading…
Reference in New Issue
Block a user