Skip to content

Remove package-lock files (#27) #8

Remove package-lock files (#27)

Remove package-lock files (#27) #8

Workflow file for this run

# SPDX-FileCopyrightText: The PFDL VS Code Extension Contributors
# SPDX-License-Identifier: CC0-1.0
name: Build new extension version
on:
push:
branches:
- main
paths:
- 'client/**'
- 'server/**'
- 'language_configuration/**'
permissions:
contents: read
jobs:
build-extension:
name: Build extension
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: 'recursive'
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '18'
- name: Install npm packages
run: |
npm install
npm install -g @vscode/vsce
- name: Build extension
run: |
npm run compile
npm run browserify
vsce package --out "./pfdl-extension.vsix"
- name: Upload build artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: PFDL VS Code Extension build
path: ./pfdl-extension.vsix