Skip to content

Commit

Permalink
chore: store built vsix
Browse files Browse the repository at this point in the history
  • Loading branch information
scnwwu committed Oct 19, 2023
1 parent 4c172f6 commit bf558bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/translations.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Translation Check

on:
workflow_dispatch:
push:
Expand All @@ -8,6 +6,7 @@ on:

jobs:
check-translations:
name: Translation Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -27,3 +26,18 @@ jobs:
echo $CHANGES
exit 1
fi
build:
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 bf558bf

Please sign in to comment.