From 08516c84af77a71640a6a68fbbfcd8e7ac2404d0 Mon Sep 17 00:00:00 2001 From: Hamir Mahal Date: Fri, 18 Oct 2024 09:11:40 -0700 Subject: [PATCH 1/2] chore: changes from formatting on save --- .github/workflows/build_vsix_package.yml | 70 ++++++++++++------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build_vsix_package.yml b/.github/workflows/build_vsix_package.yml index b79ce72..8232031 100644 --- a/.github/workflows/build_vsix_package.yml +++ b/.github/workflows/build_vsix_package.yml @@ -1,40 +1,40 @@ name: Build VSIX Package on: - push: - branches: [ "main" ] + push: + branches: ["main"] jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [19.x] - - steps: - - uses: actions/checkout@v3 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Use Rust - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - - - name: Prepare wasm-pack - uses: jetli/wasm-pack-action@v0.4.0 - - - name: NPM Install - run: npm install - - - name: Build - run: npm i -g vsce && vsce package - - - name: Upload - uses: actions/upload-artifact@v3 - with: - path: ${{ github.workspace }}/*.vsix + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [19.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Use Rust + uses: actions-rs/toolchain@v1.0.6 + with: + toolchain: stable + + - name: Prepare wasm-pack + uses: jetli/wasm-pack-action@v0.4.0 + + - name: NPM Install + run: npm install + + - name: Build + run: npm i -g vsce && vsce package + + - name: Upload + uses: actions/upload-artifact@v3 + with: + path: ${{ github.workspace }}/*.vsix From 72a8bd65debb34dd40a5be3f1043d1b23ca5df75 Mon Sep 17 00:00:00 2001 From: Hamir Mahal Date: Fri, 18 Oct 2024 09:11:55 -0700 Subject: [PATCH 2/2] fix: usage of `node12 which is deprecated` in CI --- .github/workflows/build_vsix_package.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build_vsix_package.yml b/.github/workflows/build_vsix_package.yml index 8232031..aa45af3 100644 --- a/.github/workflows/build_vsix_package.yml +++ b/.github/workflows/build_vsix_package.yml @@ -20,11 +20,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Use Rust - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - - name: Prepare wasm-pack uses: jetli/wasm-pack-action@v0.4.0