Skip to content

Commit

Permalink
build(release): setup semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Aug 16, 2021
1 parent 8a3286c commit 92226c9
Show file tree
Hide file tree
Showing 4 changed files with 3,987 additions and 54 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test & Release

on: [push, pull_request]

Expand All @@ -12,3 +12,14 @@ jobs:
- run: npm run tsc
- run: npm run build
- run: npm test
release:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm i
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npm run release
6 changes: 4 additions & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
.vscode/**
.vscode-test/**
dist/test/**
node_modules/**
.github/**
src/**
.gitignore
.yarnrc
vsc-extension-quickstart.md
jest.config.js
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
TODO.md
Loading

0 comments on commit 92226c9

Please sign in to comment.