fix: use npm in ci
This commit is contained in:
5
.github/workflows/deploy.yaml
vendored
5
.github/workflows/deploy.yaml
vendored
@@ -15,9 +15,8 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Build latest dist/ folder
|
||||
run: |
|
||||
npm install -g pnpm
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
npm ci
|
||||
npm run build
|
||||
- name: Upload dist/ folder
|
||||
run: |
|
||||
git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
|
||||
|
||||
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
@@ -13,9 +13,8 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Build latest dist/ folder
|
||||
run: |
|
||||
npm install -g pnpm
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
npm ci
|
||||
npm run build
|
||||
- name: Upload dist/ folder
|
||||
run: |
|
||||
git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
|
||||
|
||||
Reference in New Issue
Block a user