Bump React to 18.2.0 #50
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Restore NPM Packages | |
run: npm ci | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build | |
- name: Deploy GH Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
external_repository: gtbuchanan/gtbuchanan.github.io | |
publish_branch: main | |
publish_dir: ./build | |
enable_jekyll: true |