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

This commit is contained in:
2026-03-31 06:51:46 +08:00
parent 957656ad5b
commit c100973590
+3 -13
View File
@@ -13,13 +13,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Setup Node.js - uses: actions/setup-node@v6
uses: actions/setup-node@v4
with: with:
node-version: "20" node-version: "24"
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Get version from tag - name: Get version from tag
@@ -39,11 +37,3 @@ jobs:
- name: Publish to npm - name: Publish to npm
run: npm publish --access public run: npm publish --access public
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
body: |
## @simcu/simapi v${{ steps.version.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}