Skip to content

Commit 7910b7c

Browse files
committed
trying to create the release on github as well
1 parent 9b38b64 commit 7910b7c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,18 @@ jobs:
3131
run: pnpm install --frozen-lockfile
3232
- run: npm run ci
3333
- name: Publish to NPM if version in package.json has changed
34+
id: publish
3435
uses: JS-DevTools/npm-publish@v3
3536
with:
3637
token: ${{ secrets.NPM_TOKEN }}
3738
provenance: true
39+
- name: Create a Github Release when a version was published
40+
if: steps.publish.outputs.type
41+
uses: ncipollo/release-action@v1
42+
with:
43+
name: v${{ steps.publish.outputs.version }}
44+
makeLatest: true
3845

3946
permissions:
4047
id-token: write
48+
contents: write

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-assistant",
3-
"version": "0.66.7",
3+
"version": "0.66.8",
44
"description": "Combines and integrates professional Typescript tools into your project",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)