This commit is contained in:
Nate Sesti 2024-08-05 22:28:53 -04:00
parent 5309067ac0
commit 9bf3facee0
2 changed files with 17 additions and 17 deletions

View file

@ -4,10 +4,10 @@ on:
push:
branches:
- main
pull_request:
types: [closed]
branches:
- main
# pull_request:
# types: [closed]
# branches:
# - main
jobs:
build:
@ -125,19 +125,19 @@ jobs:
# 4. Run tests for the extension
# - name: Install Xvfb for Linux and run tests
# run: |
# sudo apt-get install -y xvfb # Install Xvfb
# Xvfb :99 & # Start Xvfb
# export DISPLAY=:99 # Export the display number to the environment
# cd extensions/vscode
# npm run test
# if: matrix.os == 'ubuntu-latest'
# run: |
# sudo apt-get install -y xvfb # Install Xvfb
# Xvfb :99 & # Start Xvfb
# export DISPLAY=:99 # Export the display number to the environment
# cd extensions/vscode
# npm run test
# if: matrix.os == 'ubuntu-latest'
- name: Run extension tests
run: |
cd extensions/vscode
npm run test
if: matrix.os != 'ubuntu-latest'
# - name: Run extension tests
# run: |
# cd extensions/vscode
# npm run test
# if: matrix.os != 'ubuntu-latest'
# 5. Package the extension
- name: Package the extension

View file

@ -142,7 +142,7 @@ export class WorkOsAuthProvider implements AuthenticationProvider, Disposable {
if (this._sessions[0].expiresIn) {
setTimeout(
() => this._refreshSessions(),
(this._sessions[0].expiresIn * 1000 * 2) / 3,
(this._sessions[0].expiresIn * 2) / 3,
);
}
}