Skip to content

Chore/405 update api schema #333

Chore/405 update api schema

Chore/405 update api schema #333

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI PR -> build/test (ENV:TEST)
on:
pull_request:
branches: [ deploy-test ]
jobs:
build:
runs-on: ubuntu-latest
env:
REACT_APP_GRAPH_ENDPOINT: ${{ secrets.REACT_APP_GRAPH_ENDPOINT_TEST }}
REACT_APP_GRAPH_API_KEY: ${{ secrets.REACT_APP_GRAPH_API_KEY_TEST }}
REACT_APP_ROOT_PATH: ${{ secrets.REACT_APP_ROOT_PATH_TEST }}
strategy:
matrix:
node-version: [15.x,]
# chrisbc: dropping 10.x as it's not supported by D3 , also 12.x, 14.x,
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test