From 74433fe751b41cf4367d2444136ceef6c955d5ae Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 24 Apr 2025 03:27:30 -0400 Subject: [PATCH] Use VPN for testing action --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15a27983..45711be8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: test: name: Run tests - runs-on: self-hosted + runs-on: ubuntu-latest steps: # Initialization @@ -20,6 +20,16 @@ jobs: - name: Copy configuration 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 run: npm run test