Skip to content

Commit 2fca322

Browse files
authored
chore: add node 17 in CI (#407)
1 parent 2d89166 commit 2fca322

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [ubuntu-latest, windows-latest, macos-latest]
59-
node-version: [12.x, 14.x, 16.x]
59+
node-version: [12.x, 14.x, 16.x, 17.x]
6060
webpack-version: [latest]
6161

6262
runs-on: ${{ matrix.os }}

test/__snapshots__/loader.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ exports[`loader should work with "html-webpack-plugin" plugin: result 1`] = `
9393
<script defer src=\\"http://example.com/main.js\\"></script></head>
9494
<body>
9595
<div>Text</div>
96-
<img src=\\"http://example.com/09a1a1112c577c279435.png\\" alt=\\"image\\">
96+
<img src=\\"http://example.com/7bc91c245a8a10a4.png\\" alt=\\"image\\">
9797
</body>
9898
</html>"
9999
`;

test/helpers/getCompiler.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default (fixture, loaderOptions = {}, config = {}) => {
1717
publicPath: "/webpack/public/path/",
1818
library: "___TEST___",
1919
assetModuleFilename: "[name][ext]",
20+
hashFunction: "xxhash64",
2021
},
2122
module: {
2223
rules: [

test/loader.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ describe("loader", () => {
195195
{
196196
output: {
197197
publicPath: "http://example.com",
198+
hashFunction: "xxhash64",
198199
},
199200
module: {
200201
rules: [

0 commit comments

Comments
 (0)