Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

fix: usage of node12 which is deprecated in CI #60

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 30 additions & 35 deletions .github/workflows/build_vsix_package.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,35 @@
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/[email protected]
with:
toolchain: stable

- name: Prepare wasm-pack
uses: jetli/[email protected]

- 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: Prepare wasm-pack
uses: jetli/[email protected]

- 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