Skip to content

Commit

Permalink
ci: update the publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Sep 5, 2024
1 parent e106f58 commit 1b3d86f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: GitHub release and VSCode Extension publishing

on:
push:
tags:
- "v*.*.*"
- "v*.*.*-*"
- "v*.*.*-*.*"
workflow_run:
workflows: ["Build, test and check format"]
branch:
- main
types:
- completed

# push:
# tags:
# - "v*.*.*"
# - "v*.*.*-*"
# - "v*.*.*-*.*"

jobs:
publish:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"test": "yarn run compile && sh ./scripts/e2e.sh",
"format": "prettier --write .",
"format:check": "prettier --check . server client",
"postversion": "git push --tags && git push --force",
"vscode:prepublish": "yarn run compile"
},
"activationEvents": [
Expand Down

0 comments on commit 1b3d86f

Please sign in to comment.