Skip to content

3.1.47

3.1.47 #930

Workflow file for this run

name: Pull Request Checks
on:
push:
branches:
- "*" # matches every branch
- "*/*" # matches every branch containing a single '/'
- "!master" # excludes master
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.17.1
- name: npm install, build, and test
run: |
npm ci
npm run lint
npm run test
env:
HUSKY_SKIP_INSTALL: 1
CI: true
- name: run security audit of npm packages
run: |
npm run audit-ci
- name: run security check on code
id: code_security_scan
run: |
pip install --upgrade njsscan
njsscan .
- name: scan for exposed aws secrets
run: |
git clone https://github.com/awslabs/git-secrets.git
cd ./git-secrets
sudo make install
cd ../
rm -rf git-secrets
git secrets --register-aws
git-secrets --scan -r
env:
CI: true