Skip to content

Data analysis API security fixes (#2247) #394

Data analysis API security fixes (#2247)

Data analysis API security fixes (#2247) #394

name: Forms Flow Web CI
on:
workflow_dispatch:
push:
branches:
- develop
- master
- release/**
pull_request:
branches:
- develop
- master
- release/**
paths:
- "forms-flow-web/**"
defaults:
run:
shell: bash
working-directory: ./forms-flow-web
jobs:
setup-job:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: "true"
Lint:
needs: setup-job
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.17.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Linting
run: |
npm run lint
Test:
if: Always()
needs: setup-job
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.17.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Unit Test
id: test
run: |
npm test a
Build:
if: always()
needs: setup-job
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.17.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: build to check strictness
id: build
run: |
npm run build