mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-21 07:43:56 +08:00
Switching to yarn
This commit is contained in:
@@ -24,12 +24,12 @@ jobs:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: yarn
|
||||
|
||||
- name: Rebuild the dist/ directory
|
||||
run: |
|
||||
npm run build
|
||||
npm run package
|
||||
yarn build
|
||||
yarn package
|
||||
- name: Compare the expected and actual dist/ directories
|
||||
run: |
|
||||
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
||||
|
||||
Reference in New Issue
Block a user