Skip to content

Commit

Permalink
fix: Move Github Action Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwilson committed Mar 13, 2024
1 parent 3a5cbe3 commit d3b5597
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/test.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,17 @@ jobs:

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

- run:
name: Install Dependencies
command: |
npm ci
- name: Install Dependencies
run: npm ci

- uses: actions/cache/save@v3
if: always()
with:
key: npm-dependency-cache-${{hashfiles(package-lock.json)}}
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
path: ./node_modules
if: always()

- run:
name: Run Tests
command: |
npm run test
- name: Run Tests
run: npm run test

0 comments on commit d3b5597

Please sign in to comment.