Skip to content

chore(Release): 4.1.0 #354

chore(Release): 4.1.0

chore(Release): 4.1.0 #354

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test on node v${{ matrix.node-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16, 18]
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn --immutable
- name: Linting
run: yarn lint
- name: Run TypeScript compiler
run: yarn build:check
- name: Run tests
run: yarn test
- name: Upload Coverage
uses: codecov/codecov-action@v3
- name: Report results to DeepSource
run: |
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage/cobertura-coverage.xml
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}