Export type definition without confusing Bun #14
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: ci | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- "18" | |
- "20" | |
name: Test on node v${{ matrix.node-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
check-latest: true | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install capnproto libcapnp-dev | |
npm i -g npm@latest | |
npm ci | |
- name: Build | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test |