From fd6917af8eb2d9710722281a467945f93a3db8d7 Mon Sep 17 00:00:00 2001 From: larryrider Date: Tue, 4 Aug 2026 13:40:51 +0200 Subject: [PATCH 1/3] feat: update GitHub Actions workflows to include node-version matrix strategy --- .github/workflows/publish-github.yml | 8 +++----- .github/workflows/publish-npm.yml | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 99c766d..53a9e46 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -6,6 +6,9 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [22.x] permissions: contents: read id-token: write @@ -18,7 +21,6 @@ jobs: uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - registry-url: 'https://npm.pkg.github.com' - name: Create .npmrc run: | @@ -27,13 +29,9 @@ jobs: - name: Install dependencies run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build run: npm run build - name: Publish run: npm publish --scope=@internxt --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 816eb7d..3df072b 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -6,6 +6,9 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [22.x] permissions: contents: read id-token: write From 5b9a4cb9d61dfa7b53233facbdb52d7d59a0e39a Mon Sep 17 00:00:00 2001 From: larryrider Date: Tue, 4 Aug 2026 13:44:35 +0200 Subject: [PATCH 2/3] feat: update publish workflow to include registry URL and fix publish command --- .github/workflows/publish-github.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 53a9e46..db5cd35 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -3,6 +3,7 @@ on: release: types: [published] workflow_dispatch: + jobs: build: runs-on: ubuntu-latest @@ -21,6 +22,7 @@ jobs: uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} + registry-url: 'https://npm.pkg.github.com' - name: Create .npmrc run: | @@ -34,4 +36,4 @@ jobs: run: npm run build - name: Publish - run: npm publish --scope=@internxt --access public + run: npm publish --scope=@internxt --registry=https://npm.pkg.github.com --tag latest From cb71a97385fa9d5393bea7baf9c81eb27ca94157 Mon Sep 17 00:00:00 2001 From: larryrider Date: Tue, 4 Aug 2026 13:48:28 +0200 Subject: [PATCH 3/3] feat: update node-version in workflows to 24.x --- .github/workflows/publish-github.yml | 2 +- .github/workflows/publish-npm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index db5cd35..3387c78 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [22.x] + node-version: [24.x] permissions: contents: read id-token: write diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 3df072b..3260918 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [22.x] + node-version: [24.x] permissions: contents: read id-token: write