Skip to content

chore: bump version to 2.2.2 and update default base URL for API #9

chore: bump version to 2.2.2 and update default base URL for API

chore: bump version to 2.2.2 and update default base URL for API #9

Workflow file for this run

name: Test
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master ]
permissions:
contents: read
packages: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 21]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh-strict: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run formatting check
run: npx prettier --check 'src/**/*.ts'
- name: Run tests
run: npm test
- name: Run test coverage
run: npm run test:coverage
- name: Build package
run: npm run build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage/lcov.info
fail_ci_if_error: false