[Snyk] Upgrade react-dom from 18.2.0 to 18.3.1 #391
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: Test | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- "**" | |
push: | |
branches: | |
- main | |
jobs: | |
lint-frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./front-end | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install modules | |
run: npm install | |
- name: Run linter | |
run: npm run lint | |
test: | |
name: Run Jest Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
working-directory: ./front-end | |
run: npm install | |
- name: Run Jest Tests | |
working-directory: ./front-end | |
run: npm run test |