Skip to content

Commit

Permalink
Add Github Action to package extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargjhaveri committed Aug 20, 2024
1 parent 1f508e2 commit 82a9b62
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/vsce-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm install -g @vscode/vsce
- run: vsce package --out remote-adb.vsix
- if: success() && matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
path: remote-adb.vsix
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.vscode-test/**
out/**
src/**
.github/**
.gitignore
.yarnrc
esbuild.js
Expand Down

0 comments on commit 82a9b62

Please sign in to comment.