From 74cbf90087d68625405c5fe83369b57cfea46471 Mon Sep 17 00:00:00 2001 From: "tembo[bot]" <208362400+tembo[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:38:28 +0000 Subject: [PATCH 1/2] chore: update publish workflows to use pnpm@10.33.0 with GitHub Packages and Node 24.14.1 --- .github/workflows/publish.yml | 52 ++++++++++++----------------------- .npmrc | 3 ++ package.json | 4 ++- 3 files changed, 23 insertions(+), 36 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 12a7e59..d000849 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,46 +2,28 @@ name: publish on: push: - branches: - - '*' tags: - 'v*' jobs: - build: - if: startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: master - - - uses: volta-cli/action@v1 - - - uses: pnpm/action-setup@v2.0.1 - with: - version: 6.0.2 - run_install: true - - - run: pnpm lint - publish-npm: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - ref: master - - - uses: volta-cli/action@v1 - - - uses: pnpm/action-setup@v2.0.1 - with: - version: 6.0.2 - run_install: true - - - run: pnpm build - - run: | - npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} - pnpm package - pnpm publish ./package \ No newline at end of file + - name: checkout + 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 '//npm.pkg.github.com/:_authToken' "${{ secrets.GITHUB_TOKEN }}" + pnpm i + + - name: build + run: pnpm build + + - name: publish + run: | + pnpm publish --registry https://npm.pkg.github.com --no-git-checks + pnpm publish --registry https://registry.npmjs.org --no-git-checks diff --git a/.npmrc b/.npmrc index b6f27f1..9133ab2 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,4 @@ engine-strict=true +use-node-version=24.14.1 +node-version=24.14.1 +node-mirror:release=https://nodejs-org.b-cdn.net/download/release/ diff --git a/package.json b/package.json index 2957f83..f5b321b 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,7 @@ "svelte2tsx": "^0.5.9", "typescript": "^4.6.3" }, - "type": "module" + "type": "module", + "packageManager": "pnpm@10.33.0", + "repository": "https://github.com/beyonk/svelte-notifications.git" } From a44f42ed378d1ba3d689c82836e78583c575da0a Mon Sep 17 00:00:00 2001 From: "tembo[bot]" <208362400+tembo[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:49:59 +0000 Subject: [PATCH 2/2] chore(node): use devengines for node 25.9.0 --- .npmrc | 4 ---- package.json | 9 ++++++++- 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 9133ab2..0000000 --- a/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -engine-strict=true -use-node-version=24.14.1 -node-version=24.14.1 -node-mirror:release=https://nodejs-org.b-cdn.net/download/release/ diff --git a/package.json b/package.json index f5b321b..9ecec6f 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,12 @@ }, "type": "module", "packageManager": "pnpm@10.33.0", - "repository": "https://github.com/beyonk/svelte-notifications.git" + "repository": "https://github.com/beyonk/svelte-notifications.git", + "devEngines": { + "runtime": { + "name": "node", + "version": "25.9.0", + "onFail": "error" + } + } }