Skip to content

[Snyk] Fix for 1 vulnerabilities #3188

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #3188

Workflow file for this run

name: PR Checks
on: [pull_request]
jobs:
build:
name: Run checks
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Install xvfb
run: sudo apt install xvfb
- uses: actions/checkout@v1
- name: Cache node modules
uses: actions/cache@v1
id: cache
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: NPM install
run: npm i
- name: Run Lint
run: npm run lint
- name: Generate Icon
run: npm run generate-icons
- name: Generate firebase web config file
run: |
echo '${{ secrets.FB_CONFIG_WEB_BETA }}' > src/config/firebase-web-beta.ts
echo '${{ secrets.FB_CONFIG_WEB_DEPLOY }}' > src/config/firebase-web-release.ts
- name: Run Type checker
run: npx tsc --noEmit