Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CzBiX committed May 13, 2023
1 parent c28c4f4 commit d610859
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@
"*.{js,vue,ts}": [
"vue-cli-service lint"
]
}
},
"packageManager": "yarn@3.5.0"
}

0 comments on commit d610859

Please sign in to comment.