mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 17:12:30 +01:00
36 lines
639 B
YAML
36 lines
639 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "develop"
|
|
- "1.0-develop"
|
|
pull_request:
|
|
branches:
|
|
- "develop"
|
|
- "1.0-develop"
|
|
|
|
jobs:
|
|
ui:
|
|
name: UI
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node-version: [16]
|
|
steps:
|
|
- 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
|