Update react monorepo to v18.3.1 #180
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: "Install and build" | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Set up node. | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: 17.x | |
- name: Install and build. | |
run: | | |
yarn install | |
yarn build | |
env: | |
CI: true | |
- name: Deploy! | |
uses: demurgos/ga-deploy-git@v1 | |
if: ${{ github.event_name == 'push' }} | |
with: | |
accessToken: ${{ secrets.PUSH_TOKEN }} | |
commitEmail: "bot@frozzare.com" | |
commitUser: "Frozzbot" | |
destBranch: "main" | |
srcDir: "build" |