Skip to content

perf: speed up addQuestionMarks #1174

perf: speed up addQuestionMarks

perf: speed up addQuestionMarks #1174

Workflow file for this run

name: test
on:
push:
branches:
- "master"
pull_request:
branches:
- master
jobs:
test-node:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18"]
typescript: ["4.5", "4.6", "4.7", "4.8", "4.9", "5.0"]
name: Test with TypeScript ${{ matrix.typescript }} on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn add typescript@${{ matrix.typescript }}
- run: yarn build
- run: yarn test
test-deno:
runs-on: ubuntu-latest
strategy:
matrix:
deno: ["v1.x"]
name: Test with Deno ${{ matrix.deno }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}
- run: yarn install
- run: yarn build:deno
- run: deno --version
- run: deno test
working-directory: ./deno/lib
- run: deno run ./index.ts
working-directory: ./deno/lib
- run: deno run ./mod.ts
working-directory: ./deno/lib
- run: |
deno bundle ./mod.ts ./bundle.js
deno run ./bundle.js
working-directory: ./deno/lib
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18"]
name: Lint on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn prettier:check
- run: yarn lint:check