Skip to content

Revamp PCAUI README for testing locally #117

Revamp PCAUI README for testing locally

Revamp PCAUI README for testing locally #117

Workflow file for this run

name: Run CI Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cfn-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Cloud Formation Linter with Latest Version
uses: scottbrenner/cfn-lint-action@v2
- name: Print the Cloud Formation Linter Version & run Linter.
run: |
cfn-lint --version
cfn-lint
api-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Nodejs 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install dependencies
run: npm i
working-directory: ./pca-ui/src/lambda
- name: Run unit tests
run: npm t
working-directory: ./pca-ui/src/lambda