Specify all exported types to unbreak TS v4.* (#34) #141
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 CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
latest-node-version: [16.x] | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build with Node.js ${{ matrix.latest-node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.latest-node-version }} | |
- name: Build with latest | |
run: | | |
npm install | |
npm run build | |
- name: Switch to Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Test node | |
run: | | |
npm run test:only | |
- name: Benchmark | |
run: | | |
npm run benchmark:install | |
npm run benchmark:only | |
env: | |
CI: true |