fix
This commit is contained in:
parent
242460f286
commit
b76d2f5076
@ -18,10 +18,6 @@ jobs:
|
||||
|
||||
- run: corepack enable
|
||||
|
||||
- run: node -v
|
||||
|
||||
- run: yarn -v
|
||||
|
||||
- name: Hash files
|
||||
id: get-hash
|
||||
uses: https://gitea.com/seepine/hash-files@v1
|
||||
@ -30,11 +26,6 @@ jobs:
|
||||
**/package.json
|
||||
**/yarn.lock
|
||||
|
||||
|
||||
- run: echo "${{ steps.get-hash.outputs.hash }}"
|
||||
|
||||
- run: echo "${{ runner.os }}"
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
@ -44,12 +35,6 @@ jobs:
|
||||
- name: Dependent installation
|
||||
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:
|
||||
needs: setup
|
||||
steps:
|
||||
@ -66,7 +51,6 @@ jobs:
|
||||
**/package.json
|
||||
**/yarn.lock
|
||||
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
@ -78,17 +62,18 @@ jobs:
|
||||
|
||||
build:
|
||||
needs: setup
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
env:
|
||||
- HASH: needs.setup.outputs.hash
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- run: node -v
|
||||
|
||||
- run: yarn -v
|
||||
- run: corepack enable
|
||||
|
||||
- name: Hash files
|
||||
id: get-hash
|
||||
@ -98,20 +83,6 @@ jobs:
|
||||
**/package.json
|
||||
**/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
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -59,7 +59,7 @@
|
||||
"miniprogram-ci": "^1.9.8",
|
||||
"prettier": "~2.6.0",
|
||||
"sass": "^1.57.1",
|
||||
"typescript": "^4.9.4",
|
||||
"typescript": "^4.9.3",
|
||||
"unplugin-auto-import": "^0.16.6",
|
||||
"vite": "4.0.4",
|
||||
"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"
|
||||
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
|
||||
|
||||
typescript@^4.9.4:
|
||||
typescript@^4.9.3:
|
||||
version "4.9.5"
|
||||
resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
|
||||
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
||||
|
Loading…
x
Reference in New Issue
Block a user