fix
This commit is contained in:
parent
242460f286
commit
b76d2f5076
@ -18,10 +18,6 @@ jobs:
|
|||||||
|
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
|
|
||||||
- run: node -v
|
|
||||||
|
|
||||||
- run: yarn -v
|
|
||||||
|
|
||||||
- name: Hash files
|
- name: Hash files
|
||||||
id: get-hash
|
id: get-hash
|
||||||
uses: https://gitea.com/seepine/hash-files@v1
|
uses: https://gitea.com/seepine/hash-files@v1
|
||||||
@ -30,11 +26,6 @@ jobs:
|
|||||||
**/package.json
|
**/package.json
|
||||||
**/yarn.lock
|
**/yarn.lock
|
||||||
|
|
||||||
|
|
||||||
- run: echo "${{ steps.get-hash.outputs.hash }}"
|
|
||||||
|
|
||||||
- run: echo "${{ runner.os }}"
|
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@ -44,12 +35,6 @@ jobs:
|
|||||||
- name: Dependent installation
|
- name: Dependent installation
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Cache node modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: node_modules
|
|
||||||
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
@ -66,7 +51,6 @@ jobs:
|
|||||||
**/package.json
|
**/package.json
|
||||||
**/yarn.lock
|
**/yarn.lock
|
||||||
|
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@ -78,17 +62,18 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
needs: setup
|
needs: setup
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
env:
|
env:
|
||||||
- HASH: needs.setup.outputs.hash
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- run: node -v
|
- run: corepack enable
|
||||||
|
|
||||||
- run: yarn -v
|
|
||||||
|
|
||||||
- name: Hash files
|
- name: Hash files
|
||||||
id: get-hash
|
id: get-hash
|
||||||
@ -98,20 +83,6 @@ jobs:
|
|||||||
**/package.json
|
**/package.json
|
||||||
**/yarn.lock
|
**/yarn.lock
|
||||||
|
|
||||||
- run: echo "${{ env.HASH }}"
|
|
||||||
|
|
||||||
- run: echo "${{ workflows.setup.steps.get-hash.outputs.hash }}"
|
|
||||||
- run: echo "${{ workflows.setup.outputs.hash }}"
|
|
||||||
|
|
||||||
- run: echo "${{ needs.setup.steps.get-hash.outputs.hash }}"
|
|
||||||
- run: echo "${{ needs.setup.outputs.hash }}"
|
|
||||||
|
|
||||||
- run: echo "${{ setup.steps.get-hash.outputs.hash }}"
|
|
||||||
- run: echo "${{ setup.get-hash.outputs.hash }}"
|
|
||||||
- run: echo "${{ steps.outputs.hash }}"
|
|
||||||
|
|
||||||
- run: echo "${{ outputs.hash }}"
|
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
@ -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.4",
|
"typescript": "^4.9.3",
|
||||||
"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.4:
|
typescript@^4.9.3:
|
||||||
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