Skip to content

Bump @types/react from 18.2.47 to 18.2.48 in /webview-ui (#435) #1088

Bump @types/react from 18.2.47 to 18.2.48 in /webview-ui (#435)

Bump @types/react from 18.2.47 to 18.2.48 in /webview-ui (#435) #1088

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout Branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
version: 20
- name: Build Extension
run: |
npm run install:all
- name: Smoke test (Linux)
run: xvfb-run -a npm run test
if: runner.os == 'Linux'
- name: Smoke test (Mac, Windows)
run: npm run test
if: runner.os != 'Linux'
- name: Package Extension
if: matrix.os == 'ubuntu-latest'
run: |
npm install -g vsce
vsce package
mkdir vsix
mv *.vsix vsix
- name: Archive Extension
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: vsix
path: vsix