fix actions

This commit is contained in:
CzBiX
2023-05-13 18:06:02 +08:00
parent c28c4f42f4
commit d61085979f
3 changed files with 4 additions and 13 deletions

View File

@@ -14,13 +14,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: yarn
- run: yarn install --frozen-lockfile
if: steps.cache.outputs.cache-hit != 'true'
- name: Set env
run: echo "RELEASE_FILE=qb-web-${GITHUB_REF#refs/*/}.zip" >> $GITHUB_ENV

View File

@@ -11,13 +11,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: yarn
- run: yarn install --frozen-lockfile
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn run lint --no-fix --max-warnings 0
- run: yarn run test:unit

View File

@@ -60,5 +60,6 @@
"*.{js,vue,ts}": [
"vue-cli-service lint"
]
}
},
"packageManager": "yarn@3.5.0"
}