Skip to content

v7.7.0 Release (#604) #690

v7.7.0 Release (#604)

v7.7.0 Release (#604) #690

Workflow file for this run

name: Pull Request
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
name: Nodejs ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and build
run: npm install
- name: Run lint checks
run: npm run lint:ci
- name: Run prettier checks
run: npm run lint:prettier:check
- name: Run tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}