MCSManager/.github/workflows/webpack.yml
2023-08-26 23:18:40 +08:00

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