The Project is a small starter for Reactjs that shows + / - Buttons and a counter with the state of the buttons.
---
distFolder: build
setup:
- name: Setup Node.js 12.x
action: actions/setup-node@v1
properties:
node-version: 12.x
prepare:
name: Prepare Project build environment
command: |
npm install --global yarn
yarn install --frozen-lockfile
build:
name: Build node project
command: yarn build
environment:
SITE_URL: ${{ steps.project.outputs.site-url }}
CI: true
distFolder: build
setup:
- name: Setup Node.js 12.x
action: actions/setup-node@v1
properties:
node-version: 12.x
prepare:
name: Prepare Project build environment
command: |
npm install --global yarn
yarn install --frozen-lockfile
build:
name: Build node project
command: yarn build
environment:
SITE_URL: ${{ steps.project.outputs.site-url }}
CI: true