Skip to content

Commit

Permalink
workflow debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lyu571 committed Nov 3, 2023
1 parent 5e5fe90 commit c73a43e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- feat/** # debug
tags:
- v*
- v*.*.*
Expand All @@ -26,7 +27,7 @@ jobs:
- run: npm test
if: runner.os != 'Linux'
- name: Pre release
if: success() && startsWith(github.ref, 'refs/tags/')
run: vsce package --no-yarn
if: success()
run: npm run package.patch
env:
VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: release
on:
push:
branches:
- master
release:
types:
- created
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package --no-yarn",
"package.patch": "vsce package patch --no-yarn",
"release": "vsce publish --no-yarn",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
Expand Down

0 comments on commit c73a43e

Please sign in to comment.