Skip to content

Commit

Permalink
chore: store built vsix (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
scnwwu authored Oct 25, 2023
1 parent b70da81 commit 2bdcb63
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Package VSIX

on:
workflow_dispatch:
push:
branches:
- main

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npx @vscode/vsce package
- uses: actions/upload-artifact@v3
with:
path: ./*.vsix
retention-days: 5
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ jobs:
- run: xvfb-run -a npm run test
if: runner.os == 'Linux'
- run: npx @vscode/vsce package
- uses: actions/upload-artifact@v3
with:
path: ./*.vsix
retention-days: 5

0 comments on commit 2bdcb63

Please sign in to comment.