diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2023-05-15 21:22:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-15 21:22:53 +0900 |
| commit | 0ccfccdcd271cb75f7453c70c6c3f4cadd7f3858 (patch) | |
| tree | c0a5ebdeff7cb1dc104b6e96bf9d11cd57aad714 /.github | |
| parent | 9845361153f35f6a68a82eb3a13845fddbeab026 (diff) | |
chore: check node_compat config diff in CI (#19119)
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/workflows/ci.generate.ts | 10 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 50c7b54b7..84ff65b4c 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -363,6 +363,10 @@ const ci = { if: "matrix.wpt", }, { + ...submoduleStep("./tools/node_compat/node"), + if: "matrix.job == 'lint'", + }, + { name: "Create source tarballs (release, linux)", if: [ "startsWith(matrix.os, 'ubuntu') &&", @@ -542,6 +546,12 @@ const ci = { "deno run --unstable --allow-write --allow-read --allow-run ./tools/lint.js", }, { + name: "node_compat/setup.ts --check", + if: "matrix.job == 'lint'", + run: + "deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check", + }, + { name: "Build debug", if: "matrix.job == 'test' && matrix.profile == 'debug'", run: "cargo build --locked --all-targets", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c266f8f40..9679ffbb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,6 +120,9 @@ jobs: - name: Clone submodule ./test_util/wpt run: git submodule update --init --recursive --depth=1 -- ./test_util/wpt if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.wpt)' + - name: Clone submodule ./tools/node_compat/node + run: git submodule update --init --recursive --depth=1 -- ./tools/node_compat/node + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''lint'')' - name: 'Create source tarballs (release, linux)' if: |- !(github.event_name == 'pull_request' && matrix.skip_pr) && (startsWith(matrix.os, 'ubuntu') && @@ -328,6 +331,9 @@ jobs: - name: lint.js if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''lint'')' run: deno run --unstable --allow-write --allow-read --allow-run ./tools/lint.js + - name: node_compat/setup.ts --check + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''lint'')' + run: deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check - name: Build debug if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''test'' && matrix.profile == ''debug'')' run: cargo build --locked --all-targets |
