Skip to content

Bump tough-cookie and react-scripts in /client #99

Bump tough-cookie and react-scripts in /client

Bump tough-cookie and react-scripts in /client #99

name: Test public API endpoints
# Define an event (or events) that triggers this workflow.
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Server Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node-version: [12.x]
# Define the steps in this workflow.
steps:
- uses: actions/checkout@v1
# 1. Specify the node version and environment the tests will be run on.
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# 2. Run npm install.
- name: Install
run: npm install
# 3. Run tests.
- name: Test
# You can import environment varialbes by saving them to repository secrets.
env:
CONNECTION_STR: ${{ secrets.CONNECTION_STR }}
DB: ${{ secrets.DB }}
DEFAULT_DATA_VERSION: ${{ secrets.DEFAULT_DATA_VERSION }}
run: npm test