mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-05 17:24:21 +01:00
github: Fix JavaScript publish pipeline
This commit is contained in:
4
.github/workflows/napi.yml
vendored
4
.github/workflows/napi.yml
vendored
@@ -220,11 +220,11 @@ jobs:
|
||||
- name: Publish
|
||||
run: |
|
||||
npm config set provenance true
|
||||
if git log -1 --pretty=%B | grep "^Limbo [0-9]\+\.[0-9]\+\.[0-9]\+$";
|
||||
if git log -1 --pretty=%B | grep "^Turso [0-9]\+\.[0-9]\+\.[0-9]\+$";
|
||||
then
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
npm publish --access public
|
||||
elif git log -1 --pretty=%B | grep "^Limbo [0-9]\+\.[0-9]\+\.[0-9]\+";
|
||||
elif git log -1 --pretty=%B | grep "^Turso [0-9]\+\.[0-9]\+\.[0-9]\+";
|
||||
then
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
npm publish --tag next --access public
|
||||
|
||||
Reference in New Issue
Block a user