feat: initial typescript support #276
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 19.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Codecov | |
run: npm install -g codecov | |
- name: Install dependencies | |
run: npm ci | |
- name: Bootstrap packages | |
run: npm run bootstrap | |
- name: Run the lint | |
run: npm run lint | |
- name: Run the coverage | |
run: npm run cover | |
- name: Run the coverage | |
run: codecov |