Skip to content

[Snyk] Fix for 1 vulnerabilities #364

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #364

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Test
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: "https://gitlab.com/api/v4/packages/npm/"
scope: "@affinidi"
- name: Install dependencies
run: npm install
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'