Skip to content

Commit a8ba524

Browse files
committed
MET-4394 update to npm trusted publish
also update to node 24 also update github actions
1 parent e06d0e7 commit a8ba524

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,29 @@ on:
44
push:
55
workflow_dispatch:
66

7+
permissions:
8+
id-token: write
9+
710
jobs:
811
ci:
912
name: ci
1013
runs-on: ubuntu-latest
1114
timeout-minutes: 10
1215
steps:
13-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1417
- uses: volta-cli/action@v4
1518
- run: echo "::remove-matcher owner=tsc::"
1619
- run: echo "::remove-matcher owner=eslint-compact::"
1720
- run: echo "::remove-matcher owner=eslint-stylish::"
1821
- run: node --version
22+
- run: npm --version
1923
- run: yarn --version
20-
- run: yarn install --frozen-lockfile
24+
- run: yarn install --immutable
2125
- run: yarn lint
2226
- run: yarn test
2327
- run: yarn build
2428
- if: startsWith(github.ref, 'refs/tags/')
2529
name: set package.json version by tag
2630
run: npm version --allow-same-version --no-commit-hooks --no-git-tag-version from-git
2731
- if: startsWith(github.ref, 'refs/tags/')
28-
uses: JS-DevTools/npm-publish@v3
29-
with:
30-
token: ${{ secrets.NPM_API_KEY }}
31-
package: package.json
32-
access: public
32+
run: npm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@rushstack/eslint-patch": "^1.10.3",
2525
"@types/lodash": "^4.17.5",
2626
"@types/migrate-mongo": "^8.2.0",
27-
"@types/node": "^22.13.10",
27+
"@types/node": "^24.10.4",
2828
"@typescript-eslint/eslint-plugin": "^7.13.0",
2929
"@typescript-eslint/parser": "^7.13.0",
3030
"eslint": "^8.57.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ __metadata:
10961096
"@samhammer/vault-client-sag": "npm:^1.2.0"
10971097
"@types/lodash": "npm:^4.17.5"
10981098
"@types/migrate-mongo": "npm:^8.2.0"
1099-
"@types/node": "npm:^22.13.10"
1099+
"@types/node": "npm:^24.10.4"
11001100
"@typescript-eslint/eslint-plugin": "npm:^7.13.0"
11011101
"@typescript-eslint/parser": "npm:^7.13.0"
11021102
commander: "npm:^12.1.0"
@@ -1655,12 +1655,12 @@ __metadata:
16551655
languageName: node
16561656
linkType: hard
16571657

1658-
"@types/node@npm:^22.13.10":
1659-
version: 22.13.10
1660-
resolution: "@types/node@npm:22.13.10"
1658+
"@types/node@npm:^24.10.4":
1659+
version: 24.10.9
1660+
resolution: "@types/node@npm:24.10.9"
16611661
dependencies:
1662-
undici-types: "npm:~6.20.0"
1663-
checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9
1662+
undici-types: "npm:~7.16.0"
1663+
checksum: 10c0/e9e436fcd2136bddb1bbe3271a89f4653910bcf6ee8047c4117f544c7905a106c039e2720ee48f28505ef2560e22fb9ead719f28bf5e075fdde0c1120e38e3b2
16641664
languageName: node
16651665
linkType: hard
16661666

@@ -5379,10 +5379,10 @@ __metadata:
53795379
languageName: node
53805380
linkType: hard
53815381

5382-
"undici-types@npm:~6.20.0":
5383-
version: 6.20.0
5384-
resolution: "undici-types@npm:6.20.0"
5385-
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
5382+
"undici-types@npm:~7.16.0":
5383+
version: 7.16.0
5384+
resolution: "undici-types@npm:7.16.0"
5385+
checksum: 10c0/3033e2f2b5c9f1504bdc5934646cb54e37ecaca0f9249c983f7b1fc2e87c6d18399ebb05dc7fd5419e02b2e915f734d872a65da2e3eeed1813951c427d33cc9a
53865386
languageName: node
53875387
linkType: hard
53885388

0 commit comments

Comments
 (0)