Skip to content

[FIX][NRPTI-1239] Amp record redaction fix (temporary workaround) #1138

[FIX][NRPTI-1239] Amp record redaction fix (temporary workaround)

[FIX][NRPTI-1239] Amp record redaction fix (temporary workaround) #1138

Workflow file for this run

name: API linting & tests
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v1
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
api:
- 'api/**'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
if: steps.filter.outputs.api == 'true'
run: |
cd api
npm install
env:
CI: true
- name: lint
if: steps.filter.outputs.api == 'true'
run: |
cd api
npm run lint
env:
CI: true
- name: test
if: steps.filter.outputs.api == 'true'
run: |
cd api
npm run test
env:
CI: true