MCSManager/.github/workflows/webpack.yml

27 lines
490 B
YAML
Raw Normal View History

2023-08-26 23:06:22 +08:00
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 }}
2023-08-26 23:12:43 +08:00
- name: Build Frontend
run: cd frontend && npm install && npm run build