[Snyk] Security upgrade react-navigation from 4.4.4 to 5.0.0 #3191
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |