-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(packaging): Added semantic-release to the repository (#79)
Trying to automate releases using `semantic-release`.
- Loading branch information
1 parent
bd6bbec
commit 04f56e3
Showing
7 changed files
with
8,402 additions
and
1,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
lint_pr_title: | ||
name: Lint PR Title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Conventional Commit In Pull Requests | ||
uses: ytanikin/[email protected] | ||
with: | ||
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]' | ||
add_label: 'true' | ||
|
||
build_and_test: | ||
name: Build and Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- run: npm run ci:all | ||
- run: npm run build:all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- run: npx semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# In case you want to publish to Visual Studio Marketplace | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
# In case you want to publish to Open VSX Registry | ||
#OVSX_PAT: ${{ secrets.OVSX_PAT }} |
File renamed without changes.
Oops, something went wrong.