Skip to content

Commit efec6d5

Browse files
committed
chore: publish
publish package workflow
1 parent f7848c5 commit efec6d5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ jobs:
4040
run: yarn build
4141
env:
4242
CI: true
43+
44+
- id: publish
45+
uses: JS-DevTools/npm-publish@v1
46+
with:
47+
token: ${{ secrets.NPM_AUTH_TOKEN }}
48+
49+
- if: steps.publish.type != 'none'
50+
run: |
51+
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"

0 commit comments

Comments
 (0)