Skip to content

Commit 19ff0c8

Browse files
dgreifCopilot
andcommitted
Supply chain improvements
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ec800f4 commit 19ff0c8

5 files changed

Lines changed: 88 additions & 66 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20, 22]
15+
node-version: [20, 22, 26]
1616

1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v6
20+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
cache: npm

.github/workflows/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ jobs:
1212
publish-npm:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v6
16-
- uses: actions/setup-node@v6
15+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
16+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1717
with:
18-
node-version: 22
18+
node-version: 26
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm ci
2222
- run: npm test
2323
- run: npm version ${TAG_NAME} --git-tag-version=false
2424
env:
2525
TAG_NAME: ${{ github.event.release.tag_name }}
26-
- run: npm whoami; npm --ignore-scripts publish --provenance
27-
env:
28-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
26+
- run: npm --ignore-scripts publish --provenance

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
min-release-age=3

package-lock.json

Lines changed: 43 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-examples/legacy/package-lock.json

Lines changed: 37 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)