Skip to content

Merge pull request #238 from IBM/dependabot/npm_and_yarn/types/node-2… #296

Merge pull request #238 from IBM/dependabot/npm_and_yarn/types/node-2…

Merge pull request #238 from IBM/dependabot/npm_and_yarn/types/node-2… #296

Workflow file for this run

name: NodeJS with Webpack
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install NPM Dependencies
run: |
npm install
npm install -g vsce
- name: Build and Package
run: |
npx webpack
vsce package
- name: Upload VSIX
uses: actions/upload-artifact@v3
with:
name: VSIX
path: ./*.vsix
if-no-files-found: error