mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 03:45:53 -05:00
33 lines
699 B
YAML
33 lines
699 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "1.0-develop"
|
|
|
|
jobs:
|
|
ui:
|
|
name: UI
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node-version: [ 22 ]
|
|
steps:
|
|
- name: Code Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- run: npm run tsc
|
|
- run: npm run lint
|
|
- run: npm run build:production
|