fix actions

This commit is contained in:
CzBiX
2023-05-13 18:21:26 +08:00
parent d61085979f
commit 6093fd06a2
2 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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