[Snyk] Upgrade react-redux from 9.1.0 to 9.1.1 #732
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: FilmDrop UI CI | |
on: | |
push: | |
branches: | |
- main | |
- 'feature/**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Run static analysis and tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
cache-dependency-path: package.json | |
- name: Upgrade npm | |
run: npm install -g npm@latest | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Markdown checks | |
run: npm run check-markdown | |
- name: Run format | |
run: npm run format | |
- name: Run eslint | |
run: npm run lint | |
# - name: Typecheck | |
# run: npm run typecheck | |
- name: Run audit (all, with exclusions) | |
run: npm run audit-all | |
- name: Run audit (prod, no exclusions) | |
run: npm run audit-prod | |
- name: Copy config file | |
run: mkdir -p ./public/config && cp config_helper/config.example.json ./public/config/config.json | |
- name: Run unit tests | |
run: npm run test | |
- name: Run dev build | |
run: npm run build |