Skip to content

Bump @types/react from 18.2.48 to 18.2.73 #84

Bump @types/react from 18.2.48 to 18.2.73

Bump @types/react from 18.2.48 to 18.2.73 #84

Workflow file for this run

name: Build and Deploy
permissions:
contents: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build React App
run: |
npm install -ci
npm run build
- name: Move to not ignored folder
run: |
mkdir -p docs
mv build/* docs/
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
target-folder: /
clean: true
single-commit: true
force: true
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}