diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 99c766d..3387c78 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -3,9 +3,13 @@ on: release: types: [published] workflow_dispatch: + jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [24.x] permissions: contents: read id-token: write @@ -27,13 +31,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 }} + run: npm publish --scope=@internxt --registry=https://npm.pkg.github.com --tag latest diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 816eb7d..3260918 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: [24.x] permissions: contents: read id-token: write