Skip to content

Commit

Permalink
ci: Add a package workflow
Browse files Browse the repository at this point in the history
Not complete yet, needs to add a release asset still
  • Loading branch information
iamsergio committed May 3, 2024
1 parent d7abc70 commit 4105486
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-License-Identifier: MIT
# Creates the package

name: Package

on:
workflow_dispatch:

jobs:
release-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: |
npm install --loglevel verbose
npm install @vscode/vsce typescript -g
- name: Package
run: |
npm install && npm run compile && npm prune --production && vsce package

0 comments on commit 4105486

Please sign in to comment.