feat: The errors
module is now exposed as part of the default entry. This includes various utilities (and type guards) for interacting with responses from services.
#397
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: 'ci' | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_call: | |
jobs: | |
inspect-code: | |
name: 'Inspect Code' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: lts/iron | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test -- --coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
node-compatibility: | |
name: 'Node.js Compatibility' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['lts/hydrogen', 'lts/iron'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run test |