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: npm/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.8.1
Choose a base ref
...
head repository: npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.9.0
Choose a head ref

Commits on Jul 26, 2023

  1. Copy the full SHA
    73a4e3d View commit details

Commits on Aug 14, 2023

  1. docs: fix example path (#6694)

    Update workspaces.md
    
    Specify the right path for workspace "a"
    fvilers authored Aug 14, 2023
    1
    Copy the full SHA
    9750720 View commit details

Commits on Sep 1, 2023

  1. Copy the full SHA
    95b5ab0 View commit details
  2. deps: sigstore@1.9.0

    wraithgar committed Sep 1, 2023
    Copy the full SHA
    a76b1df View commit details
  3. Copy the full SHA
    588a245 View commit details
  4. Copy the full SHA
    1ddf976 View commit details

Commits on Sep 8, 2023

  1. Copy the full SHA
    66ef765 View commit details

Commits on Sep 11, 2023

  1. fix: allow searching packages with no description (#6779)

    Co-authored-by: Luke Karrys <luke@lukekarrys.com>
    wraithgar and lukekarrys authored Sep 11, 2023
    Copy the full SHA
    0b1d7c3 View commit details
  2. Copy the full SHA
    c9406f7 View commit details
  3. Copy the full SHA
    16c04b1 View commit details
  4. Copy the full SHA
    fdb8a86 View commit details

Commits on Sep 15, 2023

  1. fix: query with workspace descendents (#6811)

    Fixes a query bug which omits some dependencies in scenarios where a
    workspace has a dependency on another workspace in the project.
    bdehamer authored Sep 15, 2023
    Copy the full SHA
    da3c0d4 View commit details
  2. Copy the full SHA
    608005d View commit details
  3. chore: allow publishing new major of workspace without prerelease (#6813

    )
    
    Previously the publish script assumed that a new major version of a
    workspace would always be preceeded by a prerelease. This updates the
    script so that a workspace will be published to the `latest` tag if it
    is greater than the current latest major version.
    
    This also fixes an issue where getting a version of a workspace could
    fail if it is the first time being published to a new tag. The script
    now catches this error and treats it like a workspace that needs
    publishing.
    
    Co-authored-by: Luke Karrys <luke@lukekarrys.com>
    wraithgar and lukekarrys authored Sep 15, 2023
    Copy the full SHA
    512a239 View commit details

Commits on Oct 6, 2023

  1. Copy the full SHA
    9e40492 View commit details
  2. Copy the full SHA
    7cd329d View commit details
  3. 1
    Copy the full SHA
    ecda95a View commit details
  4. Copy the full SHA
    4119d26 View commit details
  5. Copy the full SHA
    8379ac4 View commit details
  6. Copy the full SHA
    0d9e1f5 View commit details
  7. chore: release 9.9.0

    github-actions[bot] authored and wraithgar committed Oct 6, 2023
    Copy the full SHA
    203aaad View commit details
Showing with 13,609 additions and 1,067 deletions.
  1. +4 −1 .github/workflows/audit.yml
  2. +8 −1 .github/workflows/ci-libnpmaccess.yml
  3. +8 −1 .github/workflows/ci-libnpmdiff.yml
  4. +8 −1 .github/workflows/ci-libnpmexec.yml
  5. +8 −1 .github/workflows/ci-libnpmfund.yml
  6. +8 −1 .github/workflows/ci-libnpmhook.yml
  7. +8 −1 .github/workflows/ci-libnpmorg.yml
  8. +8 −1 .github/workflows/ci-libnpmpack.yml
  9. +8 −1 .github/workflows/ci-libnpmpublish.yml
  10. +8 −1 .github/workflows/ci-libnpmsearch.yml
  11. +8 −1 .github/workflows/ci-libnpmteam.yml
  12. +8 −1 .github/workflows/ci-libnpmversion.yml
  13. +8 −1 .github/workflows/ci-npmcli-arborist.yml
  14. +8 −1 .github/workflows/ci-npmcli-config.yml
  15. +12 −3 .github/workflows/ci-npmcli-docs.yml
  16. +8 −1 .github/workflows/ci-npmcli-mock-globals.yml
  17. +8 −1 .github/workflows/ci-npmcli-mock-registry.yml
  18. +8 −1 .github/workflows/ci-npmcli-smoke-tests.yml
  19. +12 −1 .github/workflows/ci-release.yml
  20. +20 −4 .github/workflows/ci.yml
  21. +4 −1 .github/workflows/create-node-pr.yml
  22. +4 −1 .github/workflows/pull-request.yml
  23. +8 −2 .github/workflows/release.yml
  24. +7 −7 .release-please-manifest.json
  25. +2 −0 AUTHORS
  26. +30 −0 CHANGELOG.md
  27. +12 −0 DEPENDENCIES.md
  28. +7 −0 docs/lib/content/commands/npm-audit.md
  29. +13 −0 docs/lib/content/commands/npm-query.md
  30. +223 −0 docs/lib/content/commands/npm-sbom.md
  31. +3 −0 docs/lib/content/nav.yml
  32. +1 −1 docs/lib/content/using-npm/workspaces.md
  33. +2 −2 docs/package.json
  34. +5 −1 lib/commands/audit.js
  35. +1 −1 lib/commands/deprecate.js
  36. +2 −0 lib/commands/install.js
  37. +14 −1 lib/commands/query.js
  38. +155 −0 lib/commands/sbom.js
  39. +1 −0 lib/utils/cmd-list.js
  40. +1 −1 lib/utils/format-search-stream.js
  41. +194 −0 lib/utils/sbom-cyclonedx.js
  42. +175 −0 lib/utils/sbom-spdx.js
  43. +2 −2 mock-globals/package.json
  44. +2 −2 mock-registry/package.json
  45. +2 −0 node_modules/.gitignore
  46. +202 −0 node_modules/@sigstore/bundle/LICENSE
  47. +89 −0 node_modules/@sigstore/bundle/dist/build.js
  48. +22 −0 node_modules/@sigstore/bundle/dist/bundle.js
  49. +25 −0 node_modules/@sigstore/bundle/dist/error.js
  50. +40 −0 node_modules/@sigstore/bundle/dist/index.js
  51. +38 −0 node_modules/@sigstore/bundle/dist/serialized.js
  52. 0 node_modules/{sigstore/dist/identity/provider.js → @sigstore/bundle/dist/utility.js}
  53. +77 −5 node_modules/{sigstore/dist/types/sigstore → @sigstore/bundle/dist}/validate.js
  54. +35 −0 node_modules/@sigstore/bundle/package.json
  55. +7 −7 node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js
  56. +185 −0 node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js
  57. +3 −3 node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js
  58. +65 −0 node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js
  59. +19 −19 node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js
  60. +13 −13 node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js
  61. +7 −7 node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js
  62. +7 −7 node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js
  63. +1 −1 node_modules/@sigstore/protobuf-specs/package.json
  64. +202 −0 node_modules/@sigstore/sign/LICENSE
  65. +50 −0 node_modules/@sigstore/sign/dist/bundler/base.js
  66. +70 −0 node_modules/@sigstore/sign/dist/bundler/bundle.js
  67. +45 −0 node_modules/@sigstore/sign/dist/bundler/dsse.js
  68. +7 −0 node_modules/@sigstore/sign/dist/bundler/index.js
  69. +30 −0 node_modules/@sigstore/sign/dist/bundler/message.js
  70. +12 −0 node_modules/@sigstore/sign/dist/error.js
  71. 0 node_modules/{sigstore → @sigstore/sign}/dist/external/error.js
  72. +1 −1 node_modules/{sigstore → @sigstore/sign}/dist/external/fulcio.js
  73. +1 −1 node_modules/{sigstore → @sigstore/sign}/dist/external/rekor.js
  74. 0 node_modules/{sigstore → @sigstore/sign}/dist/external/tsa.js
  75. +3 −2 node_modules/{sigstore → @sigstore/sign}/dist/identity/ci.js
  76. +20 −0 node_modules/@sigstore/sign/dist/identity/index.js
  77. 0 node_modules/{sigstore/dist/types/sigstore/serialized.js → @sigstore/sign/dist/identity/provider.js}
  78. +15 −0 node_modules/@sigstore/sign/dist/index.js
  79. +64 −0 node_modules/@sigstore/sign/dist/signer/fulcio/ca.js
  80. +45 −0 node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js
  81. +73 −0 node_modules/@sigstore/sign/dist/signer/fulcio/index.js
  82. +20 −0 node_modules/@sigstore/sign/dist/signer/index.js
  83. +17 −0 node_modules/@sigstore/sign/dist/signer/signer.js
  84. +2 −0 node_modules/@sigstore/sign/dist/types/fetch.js
  85. +27 −0 node_modules/@sigstore/sign/dist/util/crypto.js
  86. +25 −0 node_modules/@sigstore/sign/dist/util/dsse.js
  87. +28 −0 node_modules/@sigstore/sign/dist/util/encoding.js
  88. +49 −0 node_modules/@sigstore/sign/dist/util/index.js
  89. +61 −0 node_modules/@sigstore/sign/dist/util/json.js
  90. +1 −1 node_modules/{sigstore → @sigstore/sign}/dist/util/oidc.js
  91. +27 −0 node_modules/@sigstore/sign/dist/util/pem.js
  92. +1 −1 node_modules/{sigstore → @sigstore/sign}/dist/util/promise.js
  93. +1 −1 node_modules/{sigstore → @sigstore/sign}/dist/util/ua.js
  94. +22 −0 node_modules/@sigstore/sign/dist/witness/index.js
  95. +10 −16 node_modules/{sigstore/dist/tlog/index.js → @sigstore/sign/dist/witness/tlog/client.js}
  96. +57 −55 node_modules/{sigstore/dist/tlog/format.js → @sigstore/sign/dist/witness/tlog/entry.js}
  97. +77 −0 node_modules/@sigstore/sign/dist/witness/tlog/index.js
  98. +5 −5 node_modules/{sigstore/dist/tsa/index.js → @sigstore/sign/dist/witness/tsa/client.js}
  99. +44 −0 node_modules/@sigstore/sign/dist/witness/tsa/index.js
  100. +2 −0 node_modules/@sigstore/sign/dist/witness/witness.js
  101. +42 −0 node_modules/@sigstore/sign/package.json
  102. +2 −2 node_modules/@sigstore/tuf/package.json
  103. +3 −3 node_modules/npm-install-checks/lib/index.js
  104. +3 −3 node_modules/npm-install-checks/package.json
  105. +1 −1 node_modules/npm-pick-manifest/lib/index.js
  106. +4 −3 node_modules/npm-pick-manifest/package.json
  107. +0 −20 node_modules/sigstore/dist/ca/format.js
  108. +0 −39 node_modules/sigstore/dist/ca/index.js
  109. +84 −54 node_modules/sigstore/dist/config.js
  110. +12 −9 node_modules/sigstore/dist/error.js
  111. +0 −26 node_modules/sigstore/dist/external/index.js
  112. +1 −28 node_modules/sigstore/dist/identity/index.js
  113. +0 −120 node_modules/sigstore/dist/sign.js
  114. +27 −52 node_modules/sigstore/dist/sigstore-utils.js
  115. +12 −34 node_modules/sigstore/dist/sigstore.js
  116. +148 −0 node_modules/sigstore/dist/tlog/verify/checkpoint.js
  117. +40 −31 node_modules/sigstore/dist/tlog/verify/index.js
  118. +8 −4 node_modules/sigstore/dist/tlog/verify/merkle.js
  119. +1 −4 node_modules/sigstore/dist/tlog/verify/set.js
  120. +34 −12 node_modules/sigstore/dist/types/signature.js
  121. +27 −0 node_modules/sigstore/dist/types/sigstore.js
  122. +0 −162 node_modules/sigstore/dist/types/sigstore/index.js
  123. +12 −13 node_modules/sigstore/dist/util/crypto.js
  124. +1 −4 node_modules/sigstore/dist/util/index.js
  125. +17 −1 node_modules/sigstore/dist/verify.js
  126. +6 −3 node_modules/sigstore/package.json
  127. +251 −122 package-lock.json
  128. +19 −12 package.json
  129. +1 −0 release-please-config.json
  130. +6 −6 scripts/publish.js
  131. +2 −2 smoke-tests/package.json
  132. +4 −4 smoke-tests/tap-snapshots/test/index.js.test.cjs
  133. +1 −0 tap-snapshots/test/lib/commands/completion.js.test.cjs
  134. +8 −0 tap-snapshots/test/lib/commands/config.js.test.cjs
  135. +1 −0 tap-snapshots/test/lib/commands/publish.js.test.cjs
  136. +48 −0 tap-snapshots/test/lib/commands/query.js.test.cjs
  137. +1,410 −0 tap-snapshots/test/lib/commands/sbom.js.test.cjs
  138. +8 −0 tap-snapshots/test/lib/commands/search.js.test.cjs
  139. +90 −4 tap-snapshots/test/lib/docs.js.test.cjs
  140. +52 −52 tap-snapshots/test/lib/npm.js.test.cjs
  141. +1 −0 tap-snapshots/test/lib/utils/exit-handler.js.test.cjs
  142. +1,021 −0 tap-snapshots/test/lib/utils/sbom-cyclonedx.js.test.cjs
  143. +506 −0 tap-snapshots/test/lib/utils/sbom-spdx.js.test.cjs
  144. +7 −0 test/fixtures/libnpmsearch-stream-result.js
  145. +12 −0 test/lib/commands/audit.js
  146. +58 −0 test/lib/commands/query.js
  147. +503 −0 test/lib/commands/sbom.js
  148. +10 −3 test/lib/utils/exit-handler.js
  149. +245 −0 test/lib/utils/sbom-cyclonedx.js
  150. +188 −0 test/lib/utils/sbom-spdx.js
  151. +3,799 −0 test/schemas/cyclonedx/bom-1.5.schema.json
  152. +240 −0 test/schemas/cyclonedx/jsf-0.82.schema.json
  153. +621 −0 test/schemas/cyclonedx/spdx.schema.json
  154. +740 −0 test/schemas/spdx/spdx-2.3.schema.json
  155. +17 −0 workspaces/arborist/CHANGELOG.md
  156. +9 −1 workspaces/arborist/lib/arborist/audit.js
  157. +2 −2 workspaces/arborist/lib/arborist/reify.js
  158. +9 −1 workspaces/arborist/lib/query-selector-all.js
  159. +4 −4 workspaces/arborist/package.json
  160. +75 −0 workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs
  161. +9 −0 workspaces/arborist/test/arborist/audit.js
  162. +12 −0 workspaces/arborist/test/arborist/reify.js
  163. +3 −0 workspaces/arborist/test/fixtures/registry-mocks/content/platform-specifying-test-package.json
  164. +3 −0 workspaces/arborist/test/fixtures/registry-mocks/content/platform-specifying-test-package.min.json
  165. +3 −1 workspaces/arborist/test/query-selector-all.js
  166. +7 −0 workspaces/config/CHANGELOG.md
  167. +49 −0 workspaces/config/lib/definitions/definitions.js
  168. +4 −3 workspaces/config/package.json
  169. +17 −0 workspaces/config/tap-snapshots/test/type-description.js.test.cjs
  170. +2 −2 workspaces/libnpmaccess/package.json
  171. +6 −0 workspaces/libnpmdiff/CHANGELOG.md
  172. +4 −4 workspaces/libnpmdiff/package.json
  173. +6 −0 workspaces/libnpmexec/CHANGELOG.md
  174. +4 −4 workspaces/libnpmexec/package.json
  175. +6 −0 workspaces/libnpmfund/CHANGELOG.md
  176. +4 −4 workspaces/libnpmfund/package.json
  177. +2 −2 workspaces/libnpmhook/package.json
  178. +2 −2 workspaces/libnpmorg/package.json
  179. +6 −0 workspaces/libnpmpack/CHANGELOG.md
  180. +4 −4 workspaces/libnpmpack/package.json
  181. +2 −2 workspaces/libnpmpublish/package.json
  182. +2 −2 workspaces/libnpmsearch/package.json
  183. +2 −2 workspaces/libnpmteam/package.json
  184. +2 −2 workspaces/libnpmversion/package.json
5 changes: 4 additions & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -25,9 +25,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmaccess.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmdiff.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmexec.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmfund.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmhook.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmorg.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmpack.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmpublish.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmsearch.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmteam.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 8 additions & 1 deletion .github/workflows/ci-libnpmversion.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: 18.x
node-version: 20.x
check-latest: contains('20.x', '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -69,6 +72,7 @@ jobs:
- 16.x
- 18.0.0
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -82,9 +86,12 @@ jobs:
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
id: node
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
cache: npm

- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
Loading