Skip to content

fix: Move Github Action Workflow #2

fix: Move Github Action Workflow

fix: Move Github Action Workflow #2

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
with:
key: npm-dependency-cache-${{hashfiles('./package-lock.json')}}
path: ./node_modules
if: always()
- name: Run Tests
run: npm run test