Relax dependency versions #24
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: build | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 20, 21] | |
name: Build with Node ${{ matrix.node-version }} | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install deps | |
run: npm i | |
- name: Run tests | |
run: npm run test-ci | |
- name: Run coverage | |
run: npm run cover | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |