Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: denoland/deno
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.38.5
Choose a base ref
...
head repository: denoland/deno
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.39.0
Choose a head ref

Commits on Nov 10, 2023

  1. chore: forward v1.38.1 release commit to main (#21144)

    This is the release commit being forwarded back to main for 1.38.1
    
    Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
    Co-authored-by: littledivy <littledivy@users.noreply.github.com>
    3 people authored Nov 10, 2023
    Copy the full SHA
    1ece7df View commit details
  2. Copy the full SHA
    81fd514 View commit details
  3. Copy the full SHA
    8ecb649 View commit details
  4. chore: use internal namespace in 40_testing.js (#21141)

    Towards #21136 
    
    - [x] assign serializePermissions, setTimeout and setExitHandler APIs to
    internal namespace
    - [x] remove usage of assert
    littledivy authored Nov 10, 2023
    Copy the full SHA
    9f2e56b View commit details
  5. chore: use pure rust secp256k1 crate (#21154)

    Saves ~40s in fresh debug build
    littledivy authored Nov 10, 2023
    Copy the full SHA
    05704fb View commit details
  6. perf(cli): strace mode for ops (undocumented) (#21131)

    Example usage:
    
    ```
    # Trace every op except op_*tick*
    cargo run -- run --unstable -A --strace-ops=-tick '/Users/matt/Documents/github/deno/deno/ext/websocket/autobahn/autobahn_server.js
    
    # Trace any op matching op_*http*
    cargo run -- run --unstable -A --strace-ops=http ...
    ```
    
    Example output:
    
    ```
    [    11.478] op_ws_get_buffer                        : Dispatched Slow
    [    11.478] op_ws_get_buffer                        : Completed Slow
    [    11.478] op_ws_send_binary                       : Dispatched Fast
    [    11.478] op_ws_send_binary                       : Completed Fast
    [    11.478] op_ws_next_event                        : Dispatched Async
    [    11.478] op_try_close                            : Dispatched Fast
    [    11.478] op_try_close                            : Completed Fast
    [    11.478] op_timer_handle                         : Dispatched Fast
    [    11.478] op_timer_handle                         : Completed Fast
    [    11.478] op_sleep                                : Dispatched Asyn
    ```
    mmastrac authored Nov 10, 2023
    Copy the full SHA
    68607b5 View commit details
  7. Copy the full SHA
    882c54d View commit details
  8. fix: improve deno doc --lint error messages (#21156)

    This also updates deno_graph, which has the JSR change to use "exports".
    It's not yet useful atm, so I've made this PR a fix about the deno doc
    --lint error message improvements. I'll do a follow-up PR that adds
    exports to the deno.json
    dsherret authored Nov 10, 2023
    Copy the full SHA
    b78c713 View commit details
  9. Copy the full SHA
    df14835 View commit details
  10. chore(cli): Migrate some unit tests to "Promise.withResolvers()" (#21128

    )
    
    Migrate to use `Promise.withResolvers()` instead of `deferred` in some
    of the tests in `cli/tests/unit/`.
    Issue: #21041
    tmdh authored Nov 10, 2023
    Copy the full SHA
    eff3e43 View commit details

Commits on Nov 11, 2023

  1. fix(node/http): export globalAgent (#21081)

    Fixes #21080 
    Fixes #18312
    
    ---------
    
    Signed-off-by: Jacob Hummer <jcbhmr@outlook.com>
    jcbhmr authored Nov 11, 2023
    Copy the full SHA
    b2e3389 View commit details
  2. Copy the full SHA
    0c1ab2c View commit details
  3. chore(ext/node): use libz-sys w/zlib-ng feature in node (#21158)

    We only want one zlib dependency.
    
    Zlib dependencies are reorganized so they use a hidden
    `__vendored_zlib_ng` flag in cli that enables zlib-ng for both libz-sys
    (used by ext/node) and flate2 (used by deno_web).
    mmastrac authored Nov 11, 2023
    Copy the full SHA
    56e7624 View commit details
  4. perf: snapshot runtime ops (#21127)

    Closes #21135
    
    ~1ms startup time improvement
    
    ---------
    
    Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
    Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
    littledivy and dsherret authored Nov 11, 2023
    Copy the full SHA
    9f4a455 View commit details

Commits on Nov 12, 2023

  1. fix(ext/web): Prevent TextDecoderStream resource leak on stream cance…

    …llation (#21074)
    
    This PR uses the new `cancel` method of `TransformStream` to properly
    clean up the internal `TextDecoder` used in `TextDecoderStream` if the
    stream is cancelled.
    
    Fixes #13142
    
    Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
    egfx-notifications and bartlomieju authored Nov 12, 2023
    Copy the full SHA
    3a7abe6 View commit details
  2. Copy the full SHA
    55e0483 View commit details

Commits on Nov 13, 2023

  1. Copy the full SHA
    39223f7 View commit details
  2. perf: lazy bootstrap options - first pass (#21164)

    Move most runtime options to be lazily loaded. Constant options will be
    covered in a different PR.
    
    Towards #21133
    littledivy authored Nov 13, 2023
    Copy the full SHA
    1ef617e View commit details
  3. refactor(ext/http): refer to HttpRecord directly using v8::External (#…

    …20770)
    
    Makes the JavaScript Request use a v8:External opaque pointer to
    directly refer to the Rust HttpRecord.
    
    The HttpRecord is now reference counted. To avoid leaks the strong count
    is checked at request completion.
    
    Performance seems unchanged on the minimal benchmark. 118614 req/s this
    branch vs 118564 req/s on main, but variance between runs on my laptop
    is pretty high.
    
    ---------
    
    Co-authored-by: Matt Mastracci <matthew@mastracci.com>
    lrowe and mmastrac authored Nov 13, 2023
    Copy the full SHA
    542314a View commit details
  4. Copy the full SHA
    6e1f3aa View commit details
  5. perf(ext/http): Object pooling for HttpRecord and HeaderMap (#20809)

    Reuse existing existing allocations for HttpRecord and response
    HeaderMap where possible.
    
    At request end used allocations are returned to the pool and the pool
    and the pool sized to 1/8th the current number of inflight requests.
    
    For http1 hyper will reuse the response HeaderMap for the following
    request on the connection.
    
    Builds upon #20770
    
    ---------
    
    Co-authored-by: Matt Mastracci <matthew@mastracci.com>
    lrowe and mmastrac authored Nov 13, 2023
    Copy the full SHA
    25950ba View commit details
  6. chore(ext/web): use a non-resource stream for textDecoderStreamCleans…

    …UpOnCancel (#21181)
    
    Follow-up fix to #21074
    mmastrac authored Nov 13, 2023
    Copy the full SHA
    65b9150 View commit details
  7. chore: update wpt (#21178)

    For #20849
    crowlKats authored Nov 13, 2023
    Copy the full SHA
    5fbf3d9 View commit details
  8. chore(cli): unflake signal test (#21185)

    If these tests do eventually break, they'll time out.
    mmastrac authored Nov 13, 2023
    Copy the full SHA
    fe0d9e0 View commit details
  9. Copy the full SHA
    0209f7b View commit details
  10. refactor(ext/http): Use HttpRecord as response body to track until bo…

    …dy completion (#20822)
    
    Use HttpRecord as response body so requests can be tracked all the way
    to response body completion.
    
    This allows Request properties to be accessed while the response body is
    streaming.
    
    Graceful shutdown now awaits a future instead of async spinning waiting
    for requests to finish.
    
    On the minimal benchmark this refactor improves performance an
    additional 2% over pooling alone for a net 3% increase over the previous
    deno main branch.
    
    Builds upon #20809 and
    #20770.
    
    ---------
    
    Co-authored-by: Matt Mastracci <matthew@mastracci.com>
    lrowe and mmastrac authored Nov 13, 2023
    Copy the full SHA
    e581977 View commit details
  11. Copy the full SHA
    9fed7b9 View commit details
  12. Revert "fix(ext/console): fix inspecting iterators error. (#20720)" (#…

    …21191)
    
    This reverts commit 0209f7b.
    
    Reverting because it causes failures on `main`:
    #20720 (comment)
    bartlomieju authored Nov 13, 2023
    Copy the full SHA
    9b9ec44 View commit details

Commits on Nov 14, 2023

  1. chore: bump deno_core (#21188)

    Fixes #21176
    mmastrac authored Nov 14, 2023
    Copy the full SHA
    e54e8d4 View commit details
  2. Copy the full SHA
    8866521 View commit details
  3. fix(ext/node): add APIs perf_hook.performance (#21192)

    Required for Next.js.
    bartlomieju authored Nov 14, 2023
    Copy the full SHA
    cf6673b View commit details
  4. Copy the full SHA
    eab7555 View commit details
  5. Copy the full SHA
    d342c0d View commit details
  6. Copy the full SHA
    ab0c637 View commit details
  7. Copy the full SHA
    4913274 View commit details

Commits on Nov 15, 2023

  1. Copy the full SHA
    c67de43 View commit details
  2. Copy the full SHA
    7f3902b View commit details
  3. Copy the full SHA
    7687ec8 View commit details
  4. Copy the full SHA
    4072672 View commit details
  5. feat(ext/net): use rustls_tokio_stream (#21205)

    Fixes #21121 and #19498
    
    Migrates fully to rustls_tokio_stream. We no longer need to maintain our
    own TlsStream implementation to properly support duplex.
    
    This should fix a number of errors with TLS and websockets, HTTP and
    "other" places where it's failing.
    mmastrac authored Nov 15, 2023
    Copy the full SHA
    6b42cec View commit details

Commits on Nov 16, 2023

  1. feat(ext/cron) modify Deno.cron API to make handler arg last (#21225)

    This PR changes the `Deno.cron` API:
    * Marks the existing function as deprecated
    * Introduces 2 new overloads, where the handler arg is always last:
    ```ts
    Deno.cron(
      name: string,
      schedule: string,
      handler: () => Promise<void> | void,
    )
    
    Deno.cron(
      name: string,
      schedule: string,
      options?: { backoffSchedule?: number[]; signal?: AbortSignal },
      handler: () => Promise<void> | void,
    )
    ```
    
    This PR also fixes a bug, when other crons continue execution after one
    of the crons was closed using `signal`.
    Igor Zinkovsky authored Nov 16, 2023
    Copy the full SHA
    b572abf View commit details
  2. Copy the full SHA
    ceca097 View commit details
  3. Copy the full SHA
    544923a View commit details

Commits on Nov 17, 2023

  1. feat(unstable): Workspaces support (#20410)

    This commit adds unstable workspace support. This is extremely
    bare-bones and
    minimal first-pass at this.
    
    With this change `deno.json` supports specifying `workspaces` key, that
    accepts a list of subdirectories. Each workspace can have its own import
    map. It's required to specify a `"name"` and `"version"` properties in the
    configuration file for the workspace:
    
    ```jsonc
    // deno.json
    {
      "workspaces": [
         "a",
         "b"
      },
      "imports": {
        "express": "npm:express@5"
       }
    }
    ```
    ``` jsonc
    // a/deno.json
    {
      "name": "a",
      "version": "1.0.2",
      "imports": {
        "kleur": "npm:kleur"
      }
    }
    ```
    ```jsonc
    // b/deno.json
    {
      "name": "b",
      "version": "0.51.0",
      "imports": {
        "chalk": "npm:chalk"
      }
    }
    ```
    
    `--unstable-workspaces` flag is required to use this feature:
    ```
    $ deno run --unstable-workspaces mod.ts
    ```
    
    ---------
    
    Co-authored-by: David Sherret <dsherret@gmail.com>
    bartlomieju and dsherret authored Nov 17, 2023
    Copy the full SHA
    9534e6e View commit details
  2. chore: forward v1.38.2 release commit to main (#21236)

    Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
    denobot and kt3k authored Nov 17, 2023
    Copy the full SHA
    21e6a76 View commit details
  3. Copy the full SHA
    b7d14d9 View commit details
  4. Copy the full SHA
    29011d5 View commit details
  5. chore: update to Rust 1.74 (#21210)

    Update to Rust 1.74
    linbingquan authored Nov 17, 2023
    Copy the full SHA
    9a1c697 View commit details
  6. Copy the full SHA
    daab366 View commit details
  7. Copy the full SHA
    b563e76 View commit details
Showing 723 changed files with 63,692 additions and 17,417 deletions.
11 changes: 10 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -11,8 +11,17 @@ rustflags = [
"link-arg=/STACK:4194304",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C",
"link-args=-weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = [
"-C",
"link-args=-fuse-ld=lld -weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.'cfg(all())']
rustflags = [
9 changes: 5 additions & 4 deletions .dprint.json
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@
"cli/tests/testdata/file_extensions/ts_with_js_extension.js",
"cli/tests/testdata/fmt/badly_formatted.json",
"cli/tests/testdata/fmt/badly_formatted.md",
"cli/tests/testdata/fmt/badly_formatted.ipynb",
"cli/tests/testdata/byte_order_mark.ts",
"cli/tests/testdata/encoding",
"cli/tests/testdata/fmt/",
@@ -55,10 +56,10 @@
"ext/websocket/autobahn/reports"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.88.3.wasm",
"https://plugins.dprint.dev/json-0.19.0.wasm",
"https://plugins.dprint.dev/markdown-0.16.2.wasm",
"https://plugins.dprint.dev/typescript-0.88.7.wasm",
"https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072"
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7"
]
}
9 changes: 5 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -9,8 +9,9 @@ charset = utf-8
trim_trailing_whitespace = true

[*.out] # make editor neutral to .out files
insert_final_newline = false
trim_trailing_whitespace = false
insert_final_newline = unset
trim_trailing_whitespace = unset

[*.py]
indent_size = 4
[cli/tests/node_compat/test/**]
insert_final_newline = unset
trim_trailing_whitespace = unset
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 🐛 Bug Report
about: Report an issue found in the Deno CLI.
title: ''
labels: ''
assignees: ''

---

Version: Deno x.x.x
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: 🦕 Deploy Feedback
url: https://github.com/denoland/deploy_feedback/
about: Provide feature requests or bug reports for the Deno Deploy edge runtime.
- name: 💬 Discord
url: https://discord.com/deno
about: Join our community on Discord.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: 💡 Feature Request
about: Suggest a feature for the Deno CLI.
title: ''
labels: ''
assignees: ''

---
124 changes: 100 additions & 24 deletions .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
@@ -5,20 +5,24 @@ import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts";
// Bump this number when you want to purge the cache.
// Note: the tools/release/01_bump_crate_versions.ts script will update this version
// automatically via regex, so ensure that this line maintains this format.
const cacheVersion = 57;
const cacheVersion = 64;

const Runners = (() => {
const ubuntuRunner = "ubuntu-22.04";
const ubuntuXlRunner = "ubuntu-22.04-xl";
const windowsRunner = "windows-2022";
const windowsXlRunner = "windows-2022-xl";
const ubuntuRunner = "ubuntu-22.04";
const ubuntuXlRunner = "ubuntu-22.04-xl";
const windowsRunner = "windows-2022";
const windowsXlRunner = "windows-2022-xl";
const macosX86Runner = "macos-12";
// https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/
const macosArmRunner = "macos-13-xlarge";

const Runners = (() => {
return {
ubuntuXl:
`\${{ github.repository == 'denoland/deno' && '${ubuntuXlRunner}' || '${ubuntuRunner}' }}`,
ubuntu: ubuntuRunner,
linux: ubuntuRunner,
macos: "macos-12",
macos: macosX86Runner,
macosArm: macosArmRunner,
windows: windowsRunner,
windowsXl:
`\${{ github.repository == 'denoland/deno' && '${windowsXlRunner}' || '${windowsRunner}' }}`,
@@ -199,7 +203,7 @@ function skipJobsIfPrAndMarkedSkip(
return steps.map((s) =>
withCondition(
s,
"!(github.event_name == 'pull_request' && matrix.skip_pr)",
"!(matrix.skip)",
)
);
}
@@ -235,6 +239,7 @@ function removeSurroundingExpression(text: string) {

function handleMatrixItems(items: {
skip_pr?: string | true;
skip?: string;
os: string;
profile?: string;
job?: string;
@@ -246,27 +251,44 @@ function handleMatrixItems(items: {
return "ubuntu-x86_64";
} else if (os.includes("windows")) {
return "windows-x86_64";
} else if (os.includes("macos")) {
} else if (os == macosX86Runner) {
return "macos-x86_64";
} else if (os == macosArmRunner) {
return "macos-aarch64";
} else {
throw new Error(`Display name not found: ${os}`);
}
}

return items.map((item) => {
// use a free "ubuntu" runner on jobs that are skipped on pull requests
// use a free "ubuntu" runner on jobs that are skipped

// skip_pr is shorthand for skip = github.event_name == 'pull_request'.
if (item.skip_pr != null) {
let text = "${{ github.event_name == 'pull_request' && ";
if (typeof item.skip_pr === "string") {
text += removeSurroundingExpression(item.skip_pr.toString()) + " && ";
if (item.skip_pr === true) {
item.skip = "${{ github.event_name == 'pull_request' }}";
} else if (typeof item.skip_pr === "string") {
item.skip = "${{ github.event_name == 'pull_request' && " +
removeSurroundingExpression(item.skip_pr.toString()) + " }}";
}
delete item.skip_pr;
}

if (typeof item.skip === "string") {
let text =
"${{ (!contains(github.event.pull_request.labels.*.name, 'ci-full') && (";
text += removeSurroundingExpression(item.skip.toString()) + ")) && ";
text += `'${Runners.ubuntu}' || ${
removeSurroundingExpression(item.os)
} }}`;

// deno-lint-ignore no-explicit-any
(item as any).runner = text;
item.skip =
"${{ !contains(github.event.pull_request.labels.*.name, 'ci-full') && (" +
removeSurroundingExpression(item.skip.toString()) + ") }}";
}

return {
...item,
os_display_name: getOsDisplayName(item.os),
@@ -343,6 +365,13 @@ const ci = {
job: "test",
profile: "release",
skip_pr: true,
}, {
os: Runners.macosArm,
job: "test",
profile: "release",
// TODO(mmastrac): We don't want to run this M1 runner on every main commit because of the expense.
skip:
"${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/main' }}",
}, {
os: Runners.windows,
job: "test",
@@ -497,6 +526,22 @@ const ci = {
if: "matrix.use_sysroot",
...sysRootStep,
},
{
name: "Install aarch64 lld",
run: [
"./tools/install_prebuilt.js ld64.lld",
].join("\n"),
if: `matrix.os == '${macosArmRunner}'`,
},
{
name: "Install rust-codesign",
run: [
"./tools/install_prebuilt.js rcodesign",
"echo $GITHUB_WORKSPACE/third_party/prebuilt/mac >> $GITHUB_PATH",
].join("\n"),
if:
`(matrix.os == '${macosArmRunner}' || matrix.os == '${macosX86Runner}')`,
},
{
name: "Log versions",
run: [
@@ -601,9 +646,7 @@ const ci = {
if: [
"(matrix.job == 'test' || matrix.job == 'bench') &&",
"matrix.profile == 'release' && (matrix.use_sysroot ||",
"(github.repository == 'denoland/deno' &&",
"(github.ref == 'refs/heads/main' ||",
"startsWith(github.ref, 'refs/tags/'))))",
"github.repository == 'denoland/deno')",
].join("\n"),
run: [
// output fs space before and after building
@@ -642,28 +685,60 @@ const ci = {
].join("\n"),
},
{
name: "Pre-release (mac)",
name: "Pre-release (mac intel)",
if: [
"startsWith(matrix.os, 'macOS') &&",
`matrix.os == '${macosX86Runner}' &&`,
"matrix.job == 'test' &&",
"matrix.profile == 'release' &&",
"github.repository == 'denoland/deno' &&",
"(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))",
"github.repository == 'denoland/deno'",
].join("\n"),
env: {
"APPLE_CODESIGN_KEY": "${{ secrets.APPLE_CODESIGN_KEY }}",
"APPLE_CODESIGN_PASSWORD": "${{ secrets.APPLE_CODESIGN_PASSWORD }}",
},
run: [
'echo "Key is $(echo $APPLE_CODESIGN_KEY | base64 -d | wc -c) bytes"',
"rcodesign sign target/release/deno " +
"--code-signature-flags=runtime " +
'--p12-password="$APPLE_CODESIGN_PASSWORD" ' +
"--p12-file=<(echo $APPLE_CODESIGN_KEY | base64 -d) " +
"--entitlements-xml-file=cli/entitlements.plist",
"cd target/release",
"zip -r deno-x86_64-apple-darwin.zip deno",
]
.join("\n"),
},
{
name: "Pre-release (mac aarch64)",
if: [
`matrix.os == '${macosArmRunner}' &&`,
"matrix.job == 'test' &&",
"matrix.profile == 'release' &&",
"github.repository == 'denoland/deno'",
].join("\n"),
env: {
"APPLE_CODESIGN_KEY": "${{ secrets.APPLE_CODESIGN_KEY }}",
"APPLE_CODESIGN_PASSWORD": "${{ secrets.APPLE_CODESIGN_PASSWORD }}",
},
run: [
'echo "Key is $(echo $APPLE_CODESIGN_KEY | base64 -d | wc -c) bytes"',
"rcodesign sign target/release/deno " +
"--code-signature-flags=runtime " +
'--p12-password="$APPLE_CODESIGN_PASSWORD" ' +
"--p12-file=<(echo $APPLE_CODESIGN_KEY | base64 -d) " +
"--entitlements-xml-file=cli/entitlements.plist",
"cd target/release",
"zip -r deno-aarch64-apple-darwin.zip deno",
]
.join("\n"),
},
{
name: "Pre-release (windows)",
if: [
"startsWith(matrix.os, 'windows') &&",
"matrix.job == 'test' &&",
"matrix.profile == 'release' &&",
"github.repository == 'denoland/deno' &&",
"(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))",
"github.repository == 'denoland/deno'",
].join("\n"),
shell: "pwsh",
run:
@@ -718,7 +793,7 @@ const ci = {
name: "Test debug (fast)",
if: [
"matrix.job == 'test' && matrix.profile == 'debug' &&",
"!startsWith(matrix.os, 'ubuntu')",
"(startsWith(github.ref, 'refs/tags/') || !startsWith(matrix.os, 'ubuntu'))",
].join("\n"),
run: [
// Run unit then integration tests. Skip doc tests here
@@ -734,7 +809,7 @@ const ci = {
"matrix.job == 'test' && matrix.profile == 'release' &&",
"(matrix.use_sysroot || (",
"github.repository == 'denoland/deno' &&",
"github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')))",
"!startsWith(github.ref, 'refs/tags/')))",
].join("\n"),
run: "cargo test --release --locked",
},
@@ -939,6 +1014,7 @@ const ci = {
"target/release/deno-x86_64-pc-windows-msvc.zip",
"target/release/deno-x86_64-unknown-linux-gnu.zip",
"target/release/deno-x86_64-apple-darwin.zip",
"target/release/deno-aarch64-apple-darwin.zip",
"target/release/deno_src.tar.gz",
"target/release/lib.deno.d.ts",
].join("\n"),
Loading