Skip to content

Commit 0124119

Browse files
committed
test actions
1 parent b6edc67 commit 0124119

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ jobs:
3131
run_install: true
3232
- run: cd packages/react-rough-fiber && pnpm release
3333
- name: Publish
34-
run: |
35-
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
36-
then
37-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
38-
cd packages/react-rough-fiber && npm publish --access public
39-
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
40-
then
41-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
42-
cd packages/react-rough-fiber && npm publish --tag next --access public
43-
else
44-
echo "Not a release, skipping publish"
45-
fi
34+
run: ls
4635
env:
4736
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)