Skip to content

Commit

Permalink
update GH workflows to use custom web runner
Browse files Browse the repository at this point in the history
  • Loading branch information
dualcnhq committed Jun 11, 2024
1 parent 9d2aafb commit dfcd9ba
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/call-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on: workflow_call

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
Expand All @@ -23,7 +26,7 @@ jobs:
- name: Run Playwright tests
run: npm run test

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/collection-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/donation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/home-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/music-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/search-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: self-hosted
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit dfcd9ba

Please sign in to comment.