Skip to content

Commit 0c2309d

Browse files
committed
Revert "build: add package publish action"
This reverts commit 1b67038. The npm-publish action seems to not support npm but yarn.
1 parent 2eb9639 commit 0c2309d

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/deploy.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,14 @@ jobs:
1919
- uses: actions/setup-node@v3
2020
with:
2121
node-version-file: '.nvmrc'
22-
22+
2323
- run: npm ci
2424

25-
- run: npm run package
26-
27-
- name: Publish if version has been updated
28-
uses: pascalgn/npm-publish-action@1.3.9
29-
with:
30-
tag_name: "%s"
31-
create_tag: "true"
32-
commit_pattern: "^chore: release (\\S+)"
33-
workspace: "./dist/ng-tagcanvas"
34-
publish_command: "npm"
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
38-
3925
- run: npm run build -- --base-href /ng-tagcanvas/ --deploy-url /ng-tagcanvas/
4026

41-
- name: Deploy page
27+
- name: Deploy
4228
uses: peaceiris/actions-gh-pages@v3
4329
if: github.ref == 'refs/heads/master'
4430
with:
4531
github_token: ${{ secrets.GITHUB_TOKEN }}
46-
publish_dir: ./dist/ng-tagcanvas-example
32+
publish_dir: ./dist/ng-tagcanvas-example

0 commit comments

Comments
 (0)