Skip to content

Commit 1d60b1e

Browse files
authored
Merge branch 'master' into api-dep-warn
2 parents b0466b7 + 4480a9e commit 1d60b1e

File tree

6 files changed

+250
-355
lines changed

6 files changed

+250
-355
lines changed

.github/workflows/nodejs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: npm audit --production
5050

5151
- name: Check commit message
52-
uses: wagoid/commitlint-github-action@v1
52+
uses: wagoid/commitlint-github-action@v4
5353

5454
test:
5555
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
@@ -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)