diff --git a/.github/workflows/vsce-package.yml b/.github/workflows/vsce-package.yml new file mode 100644 index 0000000..a08e1e3 --- /dev/null +++ b/.github/workflows/vsce-package.yml @@ -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 diff --git a/.vscodeignore b/.vscodeignore index 8b5b2a8..8745a3e 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -2,6 +2,7 @@ .vscode-test/** out/** src/** +.github/** .gitignore .yarnrc esbuild.js