mirror of
https://github.com/186526/handlers.js
synced 2024-10-13 00:29:43 +00:00
Add Deno test supported & RegExp construction at route creation time
This commit is contained in:
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@ -3,7 +3,7 @@ name: CI
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
node:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
@ -12,11 +12,35 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Test handlers.js
|
||||
run: yarn test
|
||||
run: yarn test:node
|
||||
|
||||
deno:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js Latest
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: vx.x.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: vx.x.x
|
||||
|
||||
- name: Test handlers.js
|
||||
run: yarn test:deno
|
||||
|
Reference in New Issue
Block a user