mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-07-06 15:36:08 +08:00
fix actions
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -15,7 +15,9 @@ jobs:
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: yarn
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: |
|
||||
corepack enable
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
- name: Set env
|
||||
run: echo "RELEASE_FILE=qb-web-${GITHUB_REF#refs/*/}.zip" >> $GITHUB_ENV
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -12,7 +12,9 @@ jobs:
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: yarn
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: |
|
||||
corepack enable
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
- run: yarn run lint --no-fix --max-warnings 0
|
||||
- run: yarn run test:unit
|
||||
Reference in New Issue
Block a user