Skip to content

fix: update csp (#344) #1086

fix: update csp (#344)

fix: update csp (#344) #1086

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Packages
# Solution to solve the problem with older version package
# that fails on git checkout with ssh
run: |
git config --global url."https://".insteadOf git://
git config --global url."https://".insteadOf git+https://
git config --global url."https://".insteadOf ssh://git
npm ci
- name: Check Snyk
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: Check Lint
run: npm run lint
- name: Check Type
run: npm run lint:type
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Integration Test
run: npm run integration:ci