Skip to content

added test action

added test action #2

Workflow file for this run

name: Nasa Project CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
env:
CI: true
strategy:
matrix:
node-version: [14.x,16.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use Node.js version16 ${{matrix.node-version}}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version}}
- run: npm install
- run: npm run build --prefix client
- run: npm test