Skip to content

Commit

Permalink
Upgrade tests to newer version to pass in CI (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
matv-stripe authored Mar 13, 2024
1 parent 4897909 commit 23e3fc9
Show file tree
Hide file tree
Showing 5 changed files with 4,770 additions and 2,836 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version: 18.x

- name: Install dependencies
run: npm install
Expand All @@ -31,7 +31,10 @@ jobs:

- name: Run tests (ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: xvfb-run -a -s '-terminate' npm run test
run: |
export DISPLAY=:99
xvfb-run -n 99 -s '-screen 0 1024x768x24' npm run test
pkill Xvfb
- name: Run tests (macos, windows)
if: ${{ !(matrix.os == 'ubuntu-latest') }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Contributions and feedback to the project are welcome, so please open issues for

1. Checkout this repo
1. Run `npm install` in terminal to install dependencies
1. Run `npm run webpack-dev`
1. Run the `Run Extension` target in the Debug View or simply press `F5` This will:
- Start a task `npm: watch` to compile the code
- Run the extension in a new VS Code window
Expand Down
Loading

0 comments on commit 23e3fc9

Please sign in to comment.