Skip to content

Commit a01ad0b

Browse files
authored
Chore: remove automated npm publishing (#38)
1 parent 7263aad commit a01ad0b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/npm-publish.yml renamed to .github/workflows/release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: NPM Package
1+
name: Release
22

33
on:
44
push:
@@ -14,8 +14,6 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- run: npm install
18-
1917
- name: Extract version
2018
id: version
2119
run: |
@@ -30,17 +28,14 @@ jobs:
3028
exit 1
3129
fi
3230
33-
- name: Publish to NPM
34-
uses: JS-DevTools/npm-publish@v1
35-
with:
36-
token: ${{ secrets.NPM_TOKEN }}
37-
3831
- name: Create a git tag
32+
if: success()
3933
run: git tag $NEW_VERSION && git push --tags
4034
env:
4135
NEW_VERSION: ${{ steps.version.outputs.version }}
4236

4337
- name: GitHub release
38+
if: success()
4439
uses: actions/create-release@v1
4540
id: create_release
4641
with:

0 commit comments

Comments
 (0)