Skip to content

[webpack] test

[webpack] test #718

Workflow file for this run

name: Build with Webpack
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
IS_WP: ${{ startsWith(github.event.head_commit.message, '[webpack]') }}
jobs:
build:
runs-on: ubuntu-latest
if: ${{ env.IS_WP == 'true' }}

Check failure on line 15 in .github/workflows/webpack.yml

View workflow run for this annotation

GitHub Actions / Build with Webpack

Invalid workflow file

The workflow is not valid. .github/workflows/webpack.yml (Line: 15, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IS_WP == 'true'
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