Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ItzyBitzySpider/VulnGuard i…
Browse files Browse the repository at this point in the history
…nto main
  • Loading branch information
jloh02 committed Nov 12, 2022
2 parents d9e6868 + 63a26ad commit 19cf277
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main
release:
types:
- created

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- name: Publish
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 19cf277

Please sign in to comment.