Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task: branch preview #5325

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
28 changes: 28 additions & 0 deletions .github/workflows/vscode-extension-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "VSCode Extension - CI"

on:
push:
branches:
- task/extension/branch-preview

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- name: Install dependencies
run: npm i -g typescript @vscode/vsce

5 changes: 5 additions & 0 deletions vscode/microsoft-kiota/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "VSCode Extension Dev Container",
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:0-14",
"postCreateCommand": "cd vscode/microsoft-kiota && npm install && npx @vscode/vsce package && code --install-extension ./kiota-$(jq -r .version package.json).vsix"
}
Loading