Skip to content

Commit e91a51b

Browse files
Merge branch 'master' into ci-cl
2 parents 1a1936c + 4ec3baa commit e91a51b

File tree

6 files changed

+249
-354
lines changed

6 files changed

+249
-354
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,15 @@ jobs:
9797

9898
- name: Install webpack ${{ matrix.webpack-version }}
9999
if: matrix.webpack-version == '4'
100-
run: npm i webpack@${{ matrix.webpack-version }}
100+
run: npm i webpack@${{ matrix.webpack-version }} --save-dev --ignore-scripts
101101

102102
- name: Link webpack-dev-server
103103
run: |
104-
npm link --ignore-scripts # do not build the client again
105-
npm link webpack-dev-server
104+
cp -R client tmp-client
105+
npm link --ignore-scripts
106+
npm link webpack-dev-server --ignore-scripts
107+
rm -r client
108+
cp -R tmp-client client
106109
107110
- name: Run tests for webpack version ${{ matrix.webpack-version }}
108111
run: npm run test:coverage -- --ci

0 commit comments

Comments
 (0)