Added build workflow (#3963)

This commit is contained in:
Mrxbox98 2022-03-28 12:13:27 -07:00 committed by GitHub
parent 695c2647c8
commit a9ebf5b883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Build Panel
on:
push:
branches:
- 'develop'
- 'v2'
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install -g yarn
- run: yarn install
- run: yarn build:production