Skip to content

Commit

Permalink
Runtime test for Cloudflare Workers env (#29)
Browse files Browse the repository at this point in the history
* added runtime test for cloudflare-workers env
  • Loading branch information
Thesephi authored Jul 15, 2024
1 parent 1a62281 commit acf1457
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,20 @@ jobs:
npm create oak-nodejs-esbuild@latest -- -y
npm install
npm test
test-cloudflare-workers:
name: Test on Cloudflare Workers dev env
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x']
steps:
- uses: actions/setup-node@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm create oak-cloudflare-worker@latest -- -y
npm install
npm test

0 comments on commit acf1457

Please sign in to comment.