IOT-1522: Enabled data target testing #240
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: "[Stage, Production] Push/PR action" | |
on: | |
# Trigger conditions. This action will be triggered for each condition. Ex. | |
# making a PR from stage to master, then pushing a change to stage will trigger | |
# this action, or all jobs, twice. | |
push: | |
branches: | |
- "stage" | |
- "master" | |
paths: | |
- "src/**" | |
pull_request: | |
branches: | |
- "stage" | |
- "master" | |
jobs: | |
vulnerabilities-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: debricked/actions@v4 | |
env: | |
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }} | |
code-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout repository | |
- uses: actions/setup-node@v3 | |
name: Set NodeJS version | |
with: | |
node-version: 16 | |
- name: Install packages | |
run: "npm ci" | |
- name: Build source | |
run: "npm run build" |