Skip to content

Commit

Permalink
Merge pull request #16 from garaemon/2022.06.05-github-action
Browse files Browse the repository at this point in the history
Add github action
  • Loading branch information
garaemon authored Jun 5, 2022
2 parents b54e639 + fa3b843 commit 74a7959
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
on: push

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ^14
- run: npm install
- run: npm test
- run: npm install -g vsce
- run: vsce package

21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
release:
types:
- published

jobs:
release:
runs-on: ubuntu
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ^14
- run: npm install
- run: npm test
- run: npm install -g vsce
- run: vsce package
- run: vsce publish -p ${{ secrets.VSCE_PAT }}

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74a7959

Please sign in to comment.