diff options
Diffstat (limited to '.github/workflows')
| -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 |
