diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index ca0e0d06..6a34ef07 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -14,9 +14,20 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install Vscode - run: sudo apt install code - - name: Install dependencies + - name: Install vscode dependencies + run: sudo apt-get update && sudo apt-get install -y wget + + - name: Download and Install VSCode + run: | + wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg + sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/ + echo "deb [signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list + sudo apt-get update + sudo apt-get install -y code + + - name: Verify Installation + run: code --version + - name: Install playwright dependencies run: npm install - name: More dependencies run: npm ci