diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 81fd7385e2..448ce2ba24 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -112,3 +112,6 @@ jobs: - name: Publish to NPM run: npm publish + + - name: Debug + run: cat /home/runner/.npm/_logs/* diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml new file mode 100644 index 0000000000..4789339380 --- /dev/null +++ b/.github/workflows/test-publish.yml @@ -0,0 +1,39 @@ +name: "Releases" + +on: + workflow_dispatch: + push: + tags: + - "ZZZ*" + pull_request: + +permissions: + contents: read + +jobs: + npm-publish: + permissions: + id-token: write + contents: read + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + + - name: Set node version + uses: actions/setup-node@v6 + with: + node-version: 18 + registry-url: "https://registry.npmjs.org" + + - name: install and configure + run: npm install && npm run node + + - name: Reset node version + uses: actions/setup-node@v6 + with: + node-version: ^24.5 + registry-url: "https://registry.npmjs.org" + + - name: simulate Publish to NPM + run: node --version && npm --version