Attempted fix for protected branches in GitHub push action: https://g… #7
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: Build Release | |
on: [push, workflow_dispatch, workflow_call] | |
jobs: | |
build: | |
# Important: must be run from Linux. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build Synectic | |
run: yarn build |