Skip to content

Merge pull request #38 from NASA-AMMOS/feature/npm-publish-action #2

Merge pull request #38 from NASA-AMMOS/feature/npm-publish-action

Merge pull request #38 from NASA-AMMOS/feature/npm-publish-action #2

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