Skip to content

Commit fcdcfa0

Browse files
authored
chore: setup semantic-release (#26)
* chore: setup semantic-release * chore: add release workflow
1 parent 7b32bc3 commit fcdcfa0

File tree

3 files changed

+5159
-418
lines changed

3 files changed

+5159
-418
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 'lts/*'
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Release
22+
env:
23+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
run: npx semantic-release

0 commit comments

Comments
 (0)