mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Use VPN for testing action
This commit is contained in:
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@@ -5,7 +5,7 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
runs-on: self-hosted
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Initialization
|
# Initialization
|
||||||
@@ -20,6 +20,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy configuration
|
- name: Copy configuration
|
||||||
run: cp config.json.example config.json
|
run: cp config.json.example config.json
|
||||||
|
|
||||||
|
- name: Set up WireGuard
|
||||||
|
uses: egor-tensin/setup-wireguard@3c76633378032377324ed3e9e84873fe40267a25
|
||||||
|
with:
|
||||||
|
endpoint: '${{ secrets.ENDPOINT }}'
|
||||||
|
endpoint_public_key: '${{ secrets.ENDPOINT_PUBLIC }}'
|
||||||
|
ips: '${{ secrets.IPS }}'
|
||||||
|
allowed_ips: '${{ secrets.ALLOWED_IPS }}'
|
||||||
|
private_key: '${{ secrets.PRIVATE }}'
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user