mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-12 14:54:34 +08:00
33 lines
654 B
YAML
Executable File
33 lines
654 B
YAML
Executable File
name: NodeJS with Webpack
|
|
|
|
on:
|
|
push:
|
|
branches: ["next"]
|
|
pull_request:
|
|
branches: ["next"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Build Frontend
|
|
run: cd frontend && npm install && npm run build
|
|
|
|
- name: Build Daemon
|
|
run: cd daemon && npm install && npm run build
|
|
|
|
- name: Build Panel
|
|
run: cd panel && npm install && npm run build
|