diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0edce3b5d1c..bc1989e7613 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -82,7 +82,6 @@ jobs: run: yarn - name: Install webpack ${{ matrix.webpack-version }} - if: matrix.webpack-version == '4' run: yarn add -W webpack@${{ matrix.webpack-version }} - name: Prepare environment for tests diff --git a/test/init/__snapshots__/init.test.js.snap.webpack4 b/test/init/__snapshots__/init.test.js.snap.webpack4 index 0fbcc7906eb..83dad4cd983 100644 --- a/test/init/__snapshots__/init.test.js.snap.webpack4 +++ b/test/init/__snapshots__/init.test.js.snap.webpack4 @@ -463,6 +463,9 @@ Object { "name": "my-webpack-project", "scripts": Object { "build": "webpack --mode=production", + "build:dev": "webpack --mode=development", + "build:prod": "webpack --mode=production", + "watch": "webpack --watch", }, "version": "1.0.0", } @@ -573,6 +576,9 @@ Object { "name": "my-webpack-project", "scripts": Object { "build": "webpack --mode=production", + "build:dev": "webpack --mode=development", + "build:prod": "webpack --mode=production", + "watch": "webpack --watch", }, "version": "1.0.0", } diff --git a/test/init/__snapshots__/init.test.js.snap.webpack5 b/test/init/__snapshots__/init.test.js.snap.webpack5 index 0fbcc7906eb..83dad4cd983 100644 --- a/test/init/__snapshots__/init.test.js.snap.webpack5 +++ b/test/init/__snapshots__/init.test.js.snap.webpack5 @@ -463,6 +463,9 @@ Object { "name": "my-webpack-project", "scripts": Object { "build": "webpack --mode=production", + "build:dev": "webpack --mode=development", + "build:prod": "webpack --mode=production", + "watch": "webpack --watch", }, "version": "1.0.0", } @@ -573,6 +576,9 @@ Object { "name": "my-webpack-project", "scripts": Object { "build": "webpack --mode=production", + "build:dev": "webpack --mode=development", + "build:prod": "webpack --mode=production", + "watch": "webpack --watch", }, "version": "1.0.0", }