Skip to content

Add GH workflows for test and publish-to-npm #1

Add GH workflows for test and publish-to-npm

Add GH workflows for test and publish-to-npm #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- develop
push:
branches:
- develop
tags:
- v*
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: npm
- name: Install Dependencies
run: npm ci
- name: Test
run: npm test
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results
path: ${{ github.workspace }}/test-report