From b888a28cf3dfe1e091916c4d90442456654820cd Mon Sep 17 00:00:00 2001 From: xusd320 Date: Sat, 13 Jul 2024 19:58:23 +0800 Subject: [PATCH 1/2] test: update --- __test__/index.spec.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__test__/index.spec.mjs b/__test__/index.spec.mjs index 59a91e8..480cba6 100644 --- a/__test__/index.spec.mjs +++ b/__test__/index.spec.mjs @@ -13,7 +13,7 @@ function formatHtml(html) { return beautify.html(html, { preserve_newlines: false }); } -test("should not change html structure", (t) => { +test("should not change the original html structure", (t) => { const jqueryHtml = fs.readFileSync(path.resolve(__dirname, "jquery.html"), { encoding: "utf8", }); From 3bfb0aec88fbc59f4dda5c91d425e59a560e21b9 Mon Sep 17 00:00:00 2001 From: xusd320 Date: Sat, 13 Jul 2024 21:17:00 +0800 Subject: [PATCH 2/2] fix: fix github ci --- .github/workflows/CI.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bddf03e..04c9e3f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -121,7 +121,7 @@ jobs: run: npm run config set supportedArchitectures.cpu "ia32" shell: bash - name: Install dependencies - run: npm run install + run: npm install - name: Setup node x86 uses: actions/setup-node@v4 if: matrix.settings.target == 'i686-pc-windows-msvc' @@ -181,7 +181,7 @@ jobs: whoami env freebsd-version - npm run install + npm install npm run build npm run test rm -rf node_modules @@ -218,7 +218,7 @@ jobs: cache: npm run architecture: x64 - name: Install dependencies - run: npm run install + run: npm install - name: Download artifacts uses: actions/download-artifact@v4 with: @@ -248,7 +248,7 @@ jobs: node-version: ${{ matrix.node }} cache: npm run - name: Install dependencies - run: npm run install + run: npm install - name: Download artifacts uses: actions/download-artifact@v4 with: @@ -280,7 +280,7 @@ jobs: - name: Install dependencies run: | npm run config set supportedArchitectures.libc "musl" - npm run install + npm install - name: Download artifacts uses: actions/download-artifact@v4 with: @@ -316,7 +316,7 @@ jobs: run: | npm run config set supportedArchitectures.cpu "arm64" npm run config set supportedArchitectures.libc "glibc" - npm run install + npm install - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -350,7 +350,7 @@ jobs: run: | npm run config set supportedArchitectures.cpu "arm64" npm run config set supportedArchitectures.libc "musl" - npm run install + npm install - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -388,7 +388,7 @@ jobs: - name: Install dependencies run: | npm run config set supportedArchitectures.cpu "arm" - npm run install + npm install - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -416,7 +416,7 @@ jobs: node-version: 20 cache: npm run - name: Install dependencies - run: npm run install + run: npm install - name: Download macOS x64 artifact uses: actions/download-artifact@v4 with: @@ -455,7 +455,7 @@ jobs: node-version: 20 cache: npm run - name: Install dependencies - run: npm run install + run: npm install - name: Download all artifacts uses: actions/download-artifact@v4 with: