Skip to content

Commit 0af0cd4

Browse files
committed
release only on release
1 parent 18f744a commit 0af0cd4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/npm-publish.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Publish Package to npmjs
22
on:
3-
push:
4-
branches: [ "main" ]
53
release:
64
types: [created]
75
jobs:
@@ -16,7 +14,6 @@ jobs:
1614
registry-url: 'https://registry.npmjs.org'
1715
- run: npm ci
1816
- run: npm run build-prod:lib
19-
- run: echo "//https://registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
2017
- run: npm publish --access public ./dist/angular-editor/
2118
env:
2219
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

projects/angular-editor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cluetec/angular-editor",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "A simple native WYSIWYG editor for Angular 14+. Rich Text editor component for Angular.",
55
"author": "Michael Niedermaier <[email protected]>",
66
"repository": "https://github.com/cluetec/angular-editor",

0 commit comments

Comments
 (0)