[webpack] test3 #720
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with Webpack | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ startsWith(github.event.head_commit.message, '[webpack]') }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Build Development | |
run: | | |
npm install --force | |
npm run web:dev | |
- name: Build Production | |
run: | | |
npm install --force | |
npm run web:prod |