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: on:
push: push:
tags: tags:
- '*' - "*"
workflow_dispatch: permissions:
id-token: write # Required for OIDC
contents: read
jobs: jobs:
publish: publish:
@@ -17,8 +19,8 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: "20"
registry-url: 'https://registry.npmjs.org' registry-url: "https://registry.npmjs.org"
- name: Get version from tag - name: Get version from tag
id: version id: version