fix ci
Publish to npm / publish (push) Failing after 2m22s

This commit is contained in:
2026-03-31 06:50:18 +08:00
parent 02c9c7af3c
commit 957656ad5b
+6 -4
View File
@@ -3,8 +3,10 @@ name: Publish to npm
on:
push:
tags:
- '*'
workflow_dispatch:
- "*"
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
@@ -17,8 +19,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Get version from tag
id: version