fix(deps): update dependency react-router-dom to v6 #1556
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: React CI/CD | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- "moviebuffs-ui-react/**" | |
pull_request: | |
branches: [ master ] | |
paths: | |
- "moviebuffs-ui-react/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "moviebuffs-ui-react" | |
strategy: | |
matrix: | |
node-version: [20.x, 18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run the tests and generate coverage report | |
run: npm test -- --coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3.1.6 | |
- name: Build | |
run: npm run build |