Compare commits

...
1 Commits
Author SHA1 Message Date
xrain c136375100 fix ci
Publish to npm / publish (push) Failing after 28s
2026-04-08 01:15:33 +08:00
+1 -3
View File
@@ -26,14 +26,12 @@ jobs:
echo "Publishing version: $VERSION" echo "Publishing version: $VERSION"
# Update package.json # Update package.json
npm pkg set version=$VERSION npm pkg set version=$VERSION
# Replace version placeholders in source files
sed -i "s/0.0.0-version-placeholder/$VERSION/g" ./src/types.ts
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Build - name: Build
run: npm run build run: npm run build -- --define=$VERSION
- name: Publish to npm - name: Publish to npm
run: npm publish --access public run: npm publish --access public