Files
Peter Mbanugo 8d2ca07cea feat: Convert to TypeScript, add ESLint, drop Node.js 12 support and deprecated CLI options. (#458)
* chore: add .npmrc

* feat: configure TypeScript and ESLint

* feat!: rewrite modules/files using TypeScript

* chore: export types for the modules

* feat: change minimum node version to 14.5.0

BREAKING CHANGE: Switched to using ES2020 syntax and minimum Node engine to 14.5.0.

* feat!: removes the deprecated cli options

BREAKING CHANGE: Removes the deprecated options/arguments for starting the server. They are:

- --port (-p)
- --host (-h)
- --unix-socket (-s)

* test!: rewrite test using TypeScript & node-tap

* build: update ci script

* chore: update ESLint config

* ci: run the test script in the right directory

* ci: add test script to root package.json

* doc: update usage programmatically
2022-08-03 22:14:01 -05:00

22 lines
440 B
YAML

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run test