Skip to content

Commit

Permalink
refactor: migrate to Node.js runner
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jan 13, 2025
1 parent 6c4cb0c commit 071f9ac
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 559 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/live-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"

- name: Keep npm cache around to speed up installs
uses: actions/cache@v4
Expand All @@ -64,7 +64,7 @@ jobs:
IPV: ${{ matrix.ipv }}
HOSTNAME: ${{ env.HOSTNAME }}
CERT_PATH: ${{ github.workspace }}/${{ env.HOSTNAME }}.pem
run: npx tsx --test test.ts
run: node --experimental-transform-types --test test.ts

website:
runs-on: ubuntu-latest
Expand All @@ -89,4 +89,4 @@ jobs:

- run: npm ci

- run: npx tsx check-certificate-expiry.ts
- run: node --experimental-transform-types check-certificate-expiry.ts
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"

- name: Keep npm cache around to speed up installs
uses: actions/cache@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"

- run: mkdir certs

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Run tests
env:
VALIDATE_TLS_CERT: 0
run: npx tsx --test test.ts
run: node --experimental-transform-types --test test.ts

- name: Wait for metrics collection
# Runs every minute
Expand Down
Loading

0 comments on commit 071f9ac

Please sign in to comment.