Skip to content

Commit

Permalink
ci(release): add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbehr1 committed Dec 28, 2020
1 parent 1ab80ce commit 1f4aae1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Semantic Release and Publish
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Commitlint
uses: wagoid/commitlint-github-action@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
run: npx semantic-release

0 comments on commit 1f4aae1

Please sign in to comment.