Skip to content

[Snyk] Fix for 2 vulnerabilities #431

[Snyk] Fix for 2 vulnerabilities

[Snyk] Fix for 2 vulnerabilities #431

Workflow file for this run

name: TypeScript Checks
on:
pull_request:
types: [opened, synchronize]
jobs:
lint:
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
# v5.0.0
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
- name: Remove version from package-lock.json
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json
# v5.0.0
- uses: actions/setup-node@13427813f706a0f6c9b74603b31103c40ab1c35a
with:
node-version-file: '.nvmrc'
cache: npm
cache-dependency-path: normalized-package-lock.json
- run: npm ci
- name: Type check with TypeScript
run: npm run typecheck
env:
CI: true