Skip to content

Commit 68e3eca

Browse files
committed
ci: disable npm publishing temporarily
1 parent c265bc7 commit 68e3eca

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,31 @@ jobs:
2828
- name: Build project
2929
run: npm run build
3030

31-
publish-npm:
32-
name: Publish to npm
33-
runs-on: ubuntu-latest
34-
needs: test
35-
steps:
36-
- name: Checkout code
37-
uses: actions/checkout@v4
38-
39-
- name: Setup Node.js
40-
uses: actions/setup-node@v4
41-
with:
42-
node-version: '18'
43-
cache: 'npm'
44-
registry-url: 'https://registry.npmjs.org'
45-
46-
- name: Install dependencies
47-
run: npm ci
48-
49-
- name: Build project
50-
run: npm run build
51-
52-
- name: Publish to npm
53-
run: npm publish
54-
env:
55-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
# publish-npm:
32+
# name: Publish to npm
33+
# runs-on: ubuntu-latest
34+
# needs: test
35+
# steps:
36+
# - name: Checkout code
37+
# uses: actions/checkout@v4
38+
#
39+
# - name: Setup Node.js
40+
# uses: actions/setup-node@v4
41+
# with:
42+
# node-version: '18'
43+
# cache: 'npm'
44+
# registry-url: 'https://registry.npmjs.org'
45+
#
46+
# - name: Install dependencies
47+
# run: npm ci
48+
#
49+
# - name: Build project
50+
# run: npm run build
51+
#
52+
# - name: Publish to npm
53+
# run: npm publish
54+
# env:
55+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5656

5757
github-release:
5858
name: Create GitHub Release
@@ -69,16 +69,14 @@ jobs:
6969
with:
7070
name: Release ${{ github.ref_name }}
7171
body: |
72-
Version ${{ github.ref_name }} has been released to npm.
73-
74-
## Installation
75-
76-
```bash
77-
npm install wavespeed@${{ github.ref_name }}
78-
```
72+
Version ${{ github.ref_name }} has been released.
7973
8074
## Changes
8175
8276
See commit history for changes in this release.
77+
78+
## Note
79+
80+
npm publishing is currently disabled. To use this version, install directly from GitHub or build from source.
8381
draft: false
8482
prerelease: false

0 commit comments

Comments
 (0)