Skip to content

fix: Move Github Action Workflow #3

fix: Move Github Action Workflow

fix: Move Github Action Workflow #3

Workflow file for this run

name: "Test"
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- uses: actions/cache/restore@v3
with:
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
path: ./node_modules
- name: Install Dependencies
run: npm ci
- uses: actions/cache/save@v3
if: always()
with:
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
path: ./node_modules
- name: Run Tests
run: npm run test