fix
Some checks failed
Gitea Actions Demo / Gitea-Actions (push) Failing after 26s
Gitea Actions Demo / test (push) Successful in 5m29s
Gitea Actions Demo / build (push) Successful in 5m27s
Gitea Actions Demo / setup (push) Successful in 20m26s

This commit is contained in:
2023-08-02 12:43:38 +08:00
parent 45b79478ff
commit 9f747846e8
3 changed files with 68 additions and 10 deletions

View File

@@ -5,22 +5,22 @@ runs:
using: 'composite'
steps:
- name: Corepack enable
run: corepack enable
- run: corepack enable
- name: Hash files
- uses: seepine/hash-files@v1
id: get-hash
uses: seepine/hash-files@v1
with:
patterns: |
**/package.json
**/yarn.lock
- name: Cache node modules
uses: actions/cache@v3
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }}
key: ${{ runner.os }}-yarn-install-${{ steps.get-hash.outputs.hash }}
- name: Dependent installation
run: yarn install
- run: echo install start
- run: yarn install
- run: echo install end