Skip to content

Commit

Permalink
Remove reliance on globalThis for Worker
Browse files Browse the repository at this point in the history
Other changes:

* Update dependencies
* Actions: Update Java from 11 to 21
* Node.js: Add globals required by new Undici
  • Loading branch information
corrideat committed Jun 29, 2024
1 parent 6e5a38e commit 4a749db
Show file tree
Hide file tree
Showing 9 changed files with 241 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'temurin'
java-version: '11'
java-version: '21'
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '20'
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
run-tests-macos-18:
name: 'macOS (Node 18, Deno 1.36, Java 11)'
name: 'macOS (Node 18, Deno 1.36, Java 21)'
runs-on: macos-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'microsoft'
java-version: '11'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
Expand All @@ -33,7 +33,7 @@ jobs:
DENO_NO_PACKAGE_JSON: 1

run-tests-windows-18:
name: 'Windows (Node 18, Deno 1.36, Java 11)'
name: 'Windows (Node 18, Deno 1.36, Java 21)'
runs-on: windows-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'semeru'
java-version: '11'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
Expand All @@ -55,7 +55,7 @@ jobs:
DENO_NO_PACKAGE_JSON: 1

run-tests-ubuntu-18:
name: 'Ubuntu (Node 18, Deno 1.36, Java 11)'
name: 'Ubuntu (Node 18, Deno 1.36, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -65,7 +65,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'dragonwell'
java-version: '11'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
Expand All @@ -77,7 +77,7 @@ jobs:
DENO_NO_PACKAGE_JSON: 1

run-tests-ubuntu-20:
name: 'Ubuntu (Node 20, Deno 1.40, Java 11)'
name: 'Ubuntu (Node 20, Deno 1.40, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'dragonwell'
java-version: '11'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.40'
Expand All @@ -99,7 +99,7 @@ jobs:
DENO_NO_PACKAGE_JSON: 1

run-tests-ubuntu-22:
name: 'Ubuntu (Node 22, Deno 1.44, Java 11)'
name: 'Ubuntu (Node 22, Deno 1.44, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -109,7 +109,7 @@ jobs:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'dragonwell'
java-version: '11'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.44'
Expand Down
Loading

0 comments on commit 4a749db

Please sign in to comment.