fix
This commit is contained in:
parent
d0a25e5082
commit
45b79478ff
@ -16,8 +16,25 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Yarn install
|
- name: Corepack enable
|
||||||
uses: ./.gitea/actions/yarn-install
|
run: corepack enable
|
||||||
|
|
||||||
|
- name: Hash files
|
||||||
|
id: get-hash
|
||||||
|
uses: seepine/hash-files@v1
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
**/package.json
|
||||||
|
**/yarn.lock
|
||||||
|
|
||||||
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
|
||||||
|
|
||||||
|
- name: Dependent installation
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: setup
|
needs: setup
|
||||||
@ -32,8 +49,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Yarn install
|
- name: Corepack enable
|
||||||
uses: ./.gitea/actions/yarn-install
|
run: corepack enable
|
||||||
|
|
||||||
|
- name: Hash files
|
||||||
|
id: get-hash
|
||||||
|
uses: seepine/hash-files@v1
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
**/package.json
|
||||||
|
**/yarn.lock
|
||||||
|
|
||||||
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
|
||||||
|
|
||||||
|
- name: Dependent installation
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
|
||||||
- name: Eslint Test
|
- name: Eslint Test
|
||||||
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"
|
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"
|
||||||
@ -51,8 +86,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Yarn install
|
- name: Corepack enable
|
||||||
uses: ./.gitea/actions/yarn-install
|
run: corepack enable
|
||||||
|
|
||||||
|
- name: Hash files
|
||||||
|
id: get-hash
|
||||||
|
uses: seepine/hash-files@v1
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
**/package.json
|
||||||
|
**/yarn.lock
|
||||||
|
|
||||||
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
|
||||||
|
|
||||||
|
- name: Dependent installation
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
|
||||||
- name: Eslint Test
|
- name: Eslint Test
|
||||||
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"
|
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
"miniprogram-ci": "^1.9.8",
|
"miniprogram-ci": "^1.9.8",
|
||||||
"prettier": "~2.6.0",
|
"prettier": "~2.6.0",
|
||||||
"sass": "^1.57.1",
|
"sass": "^1.57.1",
|
||||||
"typescript": "^4.9.1",
|
"typescript": "^4.9.2",
|
||||||
"unplugin-auto-import": "^0.16.6",
|
"unplugin-auto-import": "^0.16.6",
|
||||||
"vite": "4.0.4",
|
"vite": "4.0.4",
|
||||||
"vue-tsc": "^1.0.24"
|
"vue-tsc": "^1.0.24"
|
||||||
|
@ -9590,7 +9590,7 @@ typed-array-length@^1.0.4:
|
|||||||
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.6.tgz"
|
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.6.tgz"
|
||||||
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
|
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
|
||||||
|
|
||||||
typescript@^4.9.1:
|
typescript@^4.9.2:
|
||||||
version "4.9.5"
|
version "4.9.5"
|
||||||
resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
|
resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
|
||||||
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user