Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit f401667

Browse files
author
Bassem Dghaidi
committed
Add release creation event
1 parent 0970eeb commit f401667

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
tags:
66
- '[0-9].[0-9]+.[0-9]+'
7-
# release:
8-
# types: [published]
7+
release:
8+
types: [published]
99

1010
jobs:
1111
publish-npm:
@@ -20,7 +20,6 @@ jobs:
2020
run: |
2121
ls -lha
2222
npm ci
23-
echo 'VERSION'${GITHUB_REF##*/}
24-
echo 'Publishing a new version'
23+
npm publish
2524
env:
2625
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)