Skip to content

Commit

Permalink
Add node + xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 6, 2024
1 parent b9af273 commit d78b439
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,28 @@ jobs:
pattern: '*.vsix'
merge-multiple: true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Cache npm
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Setup Babashka
uses: DeLaGuardo/setup-clojure@12.5
with:
bb: latest

- name: Run Tests
run: |
bb run-e2e-tests-vsix /tmp/*.vsix
uses: coactions/setup-xvfb@v1
with:
run: bb run-e2e-tests-vsix /tmp/*.vsix

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d78b439

Please sign in to comment.