Skip to content

added runs-on OS line to security code #6

added runs-on OS line to security code

added runs-on OS line to security code #6

Workflow file for this run

name: Push to Feature
on:
push:
branches:
- feature
env:
NODE_VERSION: "16.x"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run Tests
run: npm test
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}