Skip to content

Commit a0d6204

Browse files
tembo[bot]antony
andauthored
Configure OSS publishing (#103)
* chore: update publish workflows to use pnpm@10.33.0 with GitHub Packages and Node 24.14.1 * chore(node): use devengines for node 25.9.0 * chore: move to pnpm 11 and node 24.14.1 * upgrades --------- Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com> Co-authored-by: Antony MacKenzie-Jones <antony@users.noreply.github.com>
1 parent b42bfaf commit a0d6204

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,23 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: checkout
18+
<<<<<<< HEAD
1819
uses: actions/checkout@v6
20+
=======
21+
uses: actions/checkout@v5
22+
>>>>>>> a10e20c (chore: update publish workflows to use pnpm@10.33.0 with GitHub Packages and Node 24.14.1)
1923

2024
- name: set up node and pnpm
2125
run: |
2226
corepack enable
27+
<<<<<<< HEAD
28+
=======
29+
pnpm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
30+
pnpm config set '//npm.pkg.github.com/:_authToken' "${{ secrets.GITHUB_TOKEN }}"
31+
>>>>>>> a10e20c (chore: update publish workflows to use pnpm@10.33.0 with GitHub Packages and Node 24.14.1)
2332
pnpm i
2433

2534
- name: publish
26-
run: pnpm publish --no-git-checks --access public
35+
run: |
36+
pnpm publish --registry https://npm.pkg.github.com --no-git-checks
37+
pnpm publish --registry https://registry.npmjs.org --no-git-checks --access public

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@
3232
},
3333
"types": "./components.d.ts",
3434
"type": "module",
35-
"packageManager": "pnpm@11.5.3",
35+
"packageManager": "pnpm@11.10.0",
3636
"devEngines": {
3737
"runtime": {
3838
"name": "node",
3939
"version": ">=25.0.0",
4040
"onFail": "download"
4141
}
42+
},
43+
"engines": {
44+
"node": ">=25.0.0"
4245
}
4346
}

0 commit comments

Comments
 (0)