Skip to content

Commit

Permalink
ci: auto increment release
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimonho committed Jun 10, 2024
1 parent 4241419 commit fc0f212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,10 +12,8 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/')
run: npm run deploy
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
]
},
"scripts": {
"deploy": "vsce publish minor --yarn"
"deploy": "vsce publish patch"
},
"devDependencies": {
"@vscode/vsce": "^2.27.0"
Expand Down

0 comments on commit fc0f212

Please sign in to comment.