Update actions/setup-node action to v4.0.3 #191
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
name: "Install and build" | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up node. | |
uses: actions/[email protected] | |
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: "[email protected]" | |
commitUser: "Frozzbot" | |
destBranch: "main" | |
srcDir: "build" |