Skip to content

Commit d3b5597

Browse files
committed
fix: Move Github Action Workflow
1 parent 3a5cbe3 commit d3b5597

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/test.yml .github/workflows/test.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,17 @@ jobs:
1414

1515
- uses: actions/cache/restore@v3
1616
with:
17-
key: npm-dependency-cache-${{hashfiles(package-lock.json)}}
17+
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
1818
path: ./node_modules
1919

20-
- run:
21-
name: Install Dependencies
22-
command: |
23-
npm ci
20+
- name: Install Dependencies
21+
run: npm ci
2422

2523
- uses: actions/cache/save@v3
24+
if: always()
2625
with:
27-
key: npm-dependency-cache-${{hashfiles(package-lock.json)}}
26+
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
2827
path: ./node_modules
29-
if: always()
3028

31-
- run:
32-
name: Run Tests
33-
command: |
34-
npm run test
29+
- name: Run Tests
30+
run: npm run test

0 commit comments

Comments
 (0)