Merge pull request #501 from IABTechLab/ajy-UID2-2822-Change-url-sche… #2546
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: Build and Test | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build --if-present | |
- run: npm test | |
- run: npm run build-api --if-present | |
- name: Vulnerability Scan | |
uses: IABTechLab/uid2-shared-actions/actions/vulnerability_scan_filesystem@v2 |