feat(cdk-rest-api): add RestApi construct #321
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
quality: | |
name: Check Quality | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install Dependencies | |
run: | | |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} | |
npm ci | |
- name: Audit | |
run: npm run audit --audit-level=high | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: export NODE_OPTIONS="--max_old_space_size=4096" && npm run build | |
- name: Test | |
run: npm run test |