Skip to content

Commit 35f94b7

Browse files
committed
fix: update dependencies and publishing config
1 parent 3b3893b commit 35f94b7

File tree

5 files changed

+47
-38
lines changed

5 files changed

+47
-38
lines changed

.github/workflows/release-please.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,37 @@ on:
66
permissions:
77
contents: write
88
pull-requests: write
9+
id-token: write
10+
packages: write
911

1012
name: release-please
1113

1214
jobs:
1315
release-please:
1416
runs-on: ubuntu-latest
1517
steps:
16-
- uses: google-github-actions/release-please-action@v3
18+
- uses: google-github-actions/release-please-action@v4
19+
id: release
20+
- name: Clone
21+
if: steps.release.outputs.release_created
22+
uses: actions/checkout@v5
23+
- name: Use Node.js 22.x
24+
if: steps.release.outputs.release_created
25+
uses: actions/setup-node@v6
1726
with:
18-
release-type: node
19-
package-name: '@scribelabsai/mi'
20-
include-v-in-tag: false
21-
token: ${{ secrets.PATFORRELEASE }}
27+
node-version: 22.x
28+
registry-url: 'https://registry.npmjs.org/'
29+
scope: '@scribelabsai'
30+
- name: Update npm
31+
run: npm install -g npm@latest
32+
- name: Install deps
33+
if: steps.release.outputs.release_created
34+
run: npm install
35+
env:
36+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
- name: Build source
38+
if: steps.release.outputs.release_created
39+
run: npm run build
40+
- name: Publish
41+
if: steps.release.outputs.release_created
42+
run: npm publish

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- name: Clone
1717
uses: actions/checkout@v4
18-
- name: Use Node.js 18.x
18+
- name: Use Node.js 22.x
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18.x
21+
node-version: 22.x
2222
registry-url: 'https://npm.pkg.github.com'
2323
scope: '@scribelabsai'
2424
- name: Install deps

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
},
2020
"author": "Alex Bostock <[email protected]>",
2121
"license": "MIT License",
22+
"repository": {
23+
"url": "https://github.com/ScribeLabsAI/ScribeMINode"
24+
},
2225
"publishConfig": {
2326
"registry": "https://registry.npmjs.org/"
2427
},

release-please-config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"packages": {
3+
".": {
4+
"package-name": "@scribelabsai/mi",
5+
"changelog-path": "CHANGELOG.md",
6+
"release-type": "node",
7+
"bump-minor-pre-major": false,
8+
"bump-patch-for-minor-pre-major": false,
9+
"draft": false,
10+
"prerelease": false,
11+
"include-v-in-tag": false
12+
}
13+
},
14+
"include-component-in-tag": false,
15+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
16+
}

0 commit comments

Comments
 (0)