Update jsdom to v27.0.0 #380
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v5 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Verify formatting | |
run: deno fmt --check src/** | |
- name: Verify typing | |
run: deno check src/** | |
- name: Run linter | |
run: deno lint | |
- name: Install and run tor | |
uses: tor-actions/setup-tor@main | |
with: | |
daemon: true | |
port: 9150 | |
- name: Run tests x4 times (IP may be banned) | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 4 | |
command: | | |
pkill -HUP tor | |
curl -s --socks5 127.0.0.1:9150 https://check.torproject.org/api/ip; echo | |
rm -rf /var/tmp/youtubei.js | |
PROXY=socks5://127.0.0.1:9150 deno task test |