Skip to content

Commit bae4b09

Browse files
author
Fabrice Bascoulergue
committed
Add create release to workflow
1 parent 601acd1 commit bae4b09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/cd.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,19 @@ jobs:
4242
run: cp README.md build/README.md
4343
- name: Copy sanitized package.json
4444
run: cp package.json build/package.json
45+
4546
- name: Publish package to NPM
4647
run: npm publish
4748
env:
4849
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
50+
51+
- name: Create Release
52+
id: create_release
53+
uses: actions/create-release@v1
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
with:
57+
tag_name: ${{ github.ref }}
58+
release_name: Release ${{ github.ref }}
59+
draft: false
60+
prerelease: false

0 commit comments

Comments
 (0)