Skip to content

Update actions/setup-node action to v4.0.4 #194

Update actions/setup-node action to v4.0.4

Update actions/setup-node action to v4.0.4 #194

Workflow file for this run

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/setup-node@v4.0.4
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"