diff --git a/.github/workflows/test-windows.yaml b/.github/workflows/test-windows.yaml new file mode 100644 index 0000000000..6b30640fe5 --- /dev/null +++ b/.github/workflows/test-windows.yaml @@ -0,0 +1,36 @@ + +name: Build status + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + node-version: [18.x, 20.x] + steps: + - name: Get npm cache directory + id: npm-cache + run: | + echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" + - uses: actions/cache@v3 + with: + path: ${{ steps.npm-cache.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - uses: actions/checkout@v4 + - name: Run tests ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm test diff --git a/dist/css/style.css b/dist/css/style.css index 654e8767f7..485c038452 100644 --- a/dist/css/style.css +++ b/dist/css/style.css @@ -1,4 +1,4 @@ -/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */ +/*! HTML5 Boilerplate v9.0.0 | MIT License | https://html5boilerplate.com/ */ /* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */ /* diff --git a/dist/package.json b/dist/package.json index 5353ddfd34..b7438a8d70 100644 --- a/dist/package.json +++ b/dist/package.json @@ -15,10 +15,10 @@ }, "devDependencies": { "copy-webpack-plugin": "^11.0.0", - "html-webpack-plugin": "^5.5.3", - "webpack": "^5.88.2", + "html-webpack-plugin": "^5.6.0", + "webpack": "^5.91.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.15.1", - "webpack-merge": "^5.9.0" + "webpack-dev-server": "^5.0.4", + "webpack-merge": "^5.10.0" } } diff --git a/gulpfile.mjs b/gulpfile.mjs index 2aa310115d..a8df19fa5f 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -107,8 +107,10 @@ gulp.task('copy:misc', () => // (other tasks will handle the copying of these files) `!${dirs.src}/css/main.css`, `!${dirs.src}/index.html`, + `!**/.DS_Store` ], { + encoding: false, // Include hidden files by default dot: true, }, diff --git a/package-lock.json b/package-lock.json index e619f057a2..c82b998d79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,8 +26,8 @@ "strip-json-comments": "^5.0.1" }, "engines": { - "node": ">=16", - "npm": ">=8" + "node": ">=18", + "npm": ">=10" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/test/file_existence.mjs b/test/file_existence.mjs index 8e92a21616..d45bd56655 100644 --- a/test/file_existence.mjs +++ b/test/file_existence.mjs @@ -56,7 +56,8 @@ function checkFiles(directory, expectedFiles) { '**/.cache/**', ], dot: true, // include hidden files - mark: true, // add a `/` character to directory matches + mark: true, // add a `/` character to directory matches, + posix: true, //https://github.com/isaacs/node-glob/issues/467 }); // Check if all expected files are present in the