Node Ops Update and Reorganization: Merging Full and Validator Node G… #2
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 🏗️ | |
on: | |
pull_request: | |
branches: [develop, staging, main] | |
push: | |
branches: [develop, staging, main] | |
workflow_dispatch: | |
jobs: | |
build_code: | |
name: run | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: build | |
run: | | |
yarn install | |
yarn build |