Skip to content

Commit 3d0cfbf

Browse files
committed
fix(workflow): Fix VSCE_PAT, test ubuntu with headless
1 parent 2cb6483 commit 3d0cfbf

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)