.gitea/workflows/build.yml aktualisiert
Test Gitea Actions support Matrix? / build (18, ubuntu-latest) (push) Successful in 41s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 42s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 43s
List Runner Tool Cache (Persistent) / check-tool-cache (push) Successful in 46s
Output Information / info (push) Successful in 7s
Test Gitea Actions support Matrix? / build (18, ubuntu-latest) (push) Successful in 41s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 42s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 43s
List Runner Tool Cache (Persistent) / check-tool-cache (push) Successful in 46s
Output Information / info (push) Successful in 7s
This commit is contained in:
@@ -35,18 +35,24 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- uses: KEINOS/gh-action-hash-for-cache@v2.0.0-alpha
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||||
id: get-cache-hash
|
id: get-cache-hash
|
||||||
with:
|
with:
|
||||||
path: |
|
patterns: |-
|
||||||
package-lock.json
|
package-lock.json
|
||||||
- name: Show key future key value
|
- name: Show key future key value
|
||||||
run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}"
|
run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}"
|
||||||
- name: Setup Chache
|
- name: Setup Chache
|
||||||
uses: https://github.com/actions/cache@v3
|
id: cache-modules
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}
|
key: deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}
|
||||||
|
- name: Check Cache Hit
|
||||||
|
run: echo "Hit Cache: ${{ cache-modules.outputs.cache-hit }}"
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user