Skip to content

Bump react-router-dom from 6.28.0 to 6.28.1 #6790

Bump react-router-dom from 6.28.0 to 6.28.1

Bump react-router-dom from 6.28.0 to 6.28.1 #6790

Workflow file for this run

name: ci
on: [ push ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: npm install and test
run: |
npm ci
npm test
env:
CI: true
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: npm install
run: |
npm ci
env:
CI: true
- name: wait for sequential releases
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: deploy to aws
run: |
npm run deploy:be
env:
CI: true
OPEN_WEATHER_MAP_API_KEY: ${{ secrets.OPEN_WEATHER_MAP_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: build the front end
run: |
npm run build:fe
env:
CI: true
- name: deploy fe
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: true