Skip to content

Update to 1.4.1

Update to 1.4.1 #45

Workflow file for this run

name: Node Test for PRs
on:
pull_request:
branches:
- main
jobs:
test:
name: Install dependencies and test
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18"]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- run: npm i
- run: npm run test