2022-10-14 16:59:20 +00:00
|
|
|
name: Build
|
|
|
|
|
2022-03-28 19:13:27 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'develop'
|
|
|
|
- 'v2'
|
|
|
|
pull_request:
|
2022-10-14 16:59:20 +00:00
|
|
|
|
2022-03-28 19:13:27 +00:00
|
|
|
jobs:
|
2022-10-14 16:59:20 +00:00
|
|
|
ui:
|
|
|
|
name: UI
|
2022-03-28 19:13:27 +00:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')"
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-10-14 16:59:20 +00:00
|
|
|
node-version: [16]
|
2022-03-28 19:13:27 +00:00
|
|
|
steps:
|
2022-10-14 16:59:20 +00:00
|
|
|
- name: Code Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup Node
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
cache: 'yarn'
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn install --frozen-lockfile
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: yarn build:production
|