From 80a62cec25222c57b821d3b1196e2bd527f6dc6c Mon Sep 17 00:00:00 2001 From: Andrew Jensen Date: Tue, 23 Jun 2026 11:47:56 -0600 Subject: [PATCH] Upgrade node version in publish workflow so trusted publishing will work --- .github/workflows/publish.yaml | 8 ++++---- package.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 21d792b..646555b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,14 +16,14 @@ jobs: environment: Publish steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@v5 - name: Setup Node uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 registry-url: https://registry.npmjs.org - cache: yarn + package-manager-cache: false - name: Install dependencies run: yarn --frozen-lockfile @@ -35,4 +35,4 @@ jobs: run: yarn build - name: Publish to npm - run: npm publish --provenance --access public + run: npm publish diff --git a/package.json b/package.json index 7b07667..f9f5c17 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,11 @@ "version": "1.1.2", "description": "Backstage plugin for DX! https://getdx.com", "main": "dist/index.esm.js", - "module": "dist/index.esm.js", + "module": "./dist/index.esm.js", "types": "dist/index.d.ts", "repository": { "type": "git", + "url": "https://github.com/get-dx/backstage-plugin.git", "directory": "." }, "author": "DX ",