Skip to content

Commit b129c99

Browse files
authored
Merge pull request #2 from isnandar1471/feature/initial-release
fix(workflow): Fix test workflow
2 parents 9ee9a3e + 3d0cfbf commit b129c99

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
files: ${{ steps.meta.outputs.vsix_file }}
6464

6565
- name: Publish to VS Code Marketplace
66-
run: npx vsce publish ${{ steps.meta.outputs.vsix_file }} --pat ${{ secrets.VSCE_TOKEN }}
66+
run: npx vsce publish ${{ steps.meta.outputs.vsix_file }} --pat ${{ secrets.VSCE_PAT }}
6767

6868
- name: Post release summary
6969
run: |

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Test
22

3-
on::
3+
on:
44
push:
55
branches:
66
- main
@@ -30,5 +30,13 @@ jobs:
3030
- name: Install dependencies
3131
run: npm install
3232

33+
- name: Setup headless display (Linux only)
34+
if: runner.os == 'Linux'
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y xvfb
38+
Xvfb :99 -screen 0 1024x768x24 &
39+
echo "DISPLAY=:99" >> $GITHUB_ENV
40+
3341
- name: Run tests
3442
run: npm test

0 commit comments

Comments
 (0)