build(deps): bump react-router-dom from 6.12.1 to 6.21.0 #638
Workflow file for this run
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x, 14.x, 16.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build --if-present | |
# - run: npm test | |
test_and_deploy: | |
runs-on: ubuntu-latest | |
needs: [build] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.0.1 | |
with: | |
node-version: '16' | |
- name: Install 🔧 | |
run: npm install | |
- name: Build 🔧 | |
run: npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.5.0 | |
if: github.ref == 'refs/heads/master' | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist # The folder the action should deploy |