-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Workflow to build and upload the ide extension binaries
- Loading branch information
Karol Harezlak
committed
Jan 31, 2023
1 parent
25290d5
commit 7dffccb
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Pyrsia VS Code Extension build and upload extension's binaries | ||
|
||
on: | ||
schedule: | ||
# scheduled twice a week | ||
- cron: '* * * * 1,5' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 19 | ||
- run: sudo apt-get install xvfb | ||
- run: npm install | ||
- run: npm run compile | ||
- run: npm run lint | ||
- run: xvfb-run --auto-servernum npm run test | ||
- run: npm install -g @vscode/vsce | ||
- run: vsce package -o "pyrsia_vs_code_`date +%Y_%m_%d`.vsix" --allow-star-activation |