Skip to content

Commit

Permalink
Provide GitHub Action to build extension on master branch update and
Browse files Browse the repository at this point in the history
Pull requests

fixes errata-ai#80

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jul 22, 2022
1 parent d0b4564 commit 912cd69
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- name: Install global dependencies
run: npm install -g typescript vsce
- name: npm-ci
run: npm ci
- name: npm-compile
run: npm run compile
- name: vsce package
run: vsce package
File renamed without changes.

0 comments on commit 912cd69

Please sign in to comment.