Skip to content

Commit b502c98

Browse files
authored
feat: re-enable webpack 2, 3 and 4 e2e tests (#931)
1 parent afd9144 commit b502c98

File tree

6 files changed

+19296
-5388
lines changed

6 files changed

+19296
-5388
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
matrix:
1818
node-version: [16.x, 18.x, 20.x]
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- name: Install dependencies
@@ -32,19 +32,12 @@ jobs:
3232
- name: Lint
3333
run: |
3434
npm run lint
35-
- name: Run tests and generate coverage information (Node 18.x, Node 20.x)
36-
if: matrix.node-version != '16.x'
37-
run: |
38-
NODE_OPTIONS=--openssl-legacy-provider npm run test && npm run coverage
39-
env:
40-
CI: true
41-
- name: Run tests and generate coverage information (Node 16.x)
42-
if: matrix.node-version == '16.x'
35+
- name: Run tests and generate coverage info
4336
run: |
4437
npm run test && npm run coverage
4538
env:
4639
CI: true
4740
- name: Upload coverage to Codecov
48-
uses: codecov/codecov-action@v1
41+
uses: codecov/codecov-action@v3
4942
with:
5043
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
This plugin extracts _open source license information_ about all of the npm packages in your webpack output and helps you identify and fix problems with your open source licensing policy.
4040

41-
This plugin has full unit and end to end test coverage and is tested with **webpack 5**. It will help you:
41+
This plugin has full unit and end to end test coverage and is tested with **webpack 2, 3, 4 and 5**. It will help you:
4242

4343
- Discover every npm package used in your webpack output
4444
- Find out how it is licensed

0 commit comments

Comments
 (0)