Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: set up node and pnpm
run: |
corepack enable
pnpm config set '//registry.npmjs.org/:_authToken' "${{secrets.NPM_TOKEN}}"
pnpm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
pnpm config set '//npm.pkg.github.com/:_authToken' "${{ secrets.GITHUB_TOKEN }}"
pnpm i

- name: publish
run: pnpm publish --no-git-checks --access public
run: |
pnpm publish --registry https://npm.pkg.github.com --no-git-checks
pnpm publish --registry https://registry.npmjs.org --no-git-checks --access public
4 changes: 3 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
engine-strict=true
use-node-version=22.13.1
use-node-version=24.14.1
node-version=24.14.1
node-mirror:release=https://nodejs-org.b-cdn.net/download/release/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
},
"types": "./components.d.ts",
"type": "module",
"packageManager": "pnpm@10.33.0"
"packageManager": "pnpm@10.33.0",
"repository": "https://github.com/beyonk/svelte-mapbox.git"
}