Feat: convert koa to ts #588
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build | |
# https://github.com/nodejs/node/issues/55054 multiple issues with experimental code coverage | |
# with source maps make test coverage unusable. | |
# TODO: use code coverage when it is fixed by node core teams | |
- run: npm run test | |
# - run: npm run test:coverage | |
# - run: npx codecov | |
# continue-on-error: true |