Adds Github Action to Perform Weekly Security Audit with ZAProxy (#196) #635
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
# - '!main' | |
jobs: | |
test_and_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm test | |
- name: 'Build web app artifacts' | |
run: npm run build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: build-output | |
path: build |