Skip to content

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.4.1 #187

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.4.1

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.4.1 #187

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- 'master'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
name: Test Node v${{ matrix.node }}
steps:
- name: πŸ“₯​ Checkout
uses: actions/checkout@v3
- name: πŸͺ„ Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸ—οΈ Build
run: yarn run build
- name: πŸ§ͺ Tests
run: yarn run test
- name: 🎨 ESLint
run: |
yarn run lint || (echo "##[error] found lint errors. please 'yarn run lint --fix'" \
"and fix all errors" \
&& exit 1)
- name: 🎨 Format
run: |
yarn run format:check || (echo "##[error] found unformatted files. please 'yarn run format'" \
"and check in all changes" \
&& exit 1)
- name: πŸ—οΈ Example build
run: yarn run build:doc
summary:
runs-on: ubuntu-latest
needs: test
if: always()
name: test-summary
steps:
- name: Summary status
run: if ${{ needs.test.result != 'success' && needs.test.result != 'skipped' }}; then exit 1; fi
coverage:
needs: summary
name: coverage
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- name: πŸ“₯​ Checkout
uses: actions/checkout@v3
- name: πŸͺ„ Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸ—‚οΈ Collect coverage
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: yarn test --coverage