Skip to content

Bump @typescript-eslint/parser from 6.2.1 to 6.3.0 #143

Bump @typescript-eslint/parser from 6.2.1 to 6.3.0

Bump @typescript-eslint/parser from 6.2.1 to 6.3.0 #143

Workflow file for this run

name: Lint | Test
on:
workflow_dispatch:
pull_request:
# types: [opened, reopened, synchronize] # Default
# types: [opened, reopened, synchronize, edited, unlocked]
# branches:
# - main
# Only run when push includes commits with changes to:
paths:
- 'src/**.ts'
- 'test/**.ts'
- 'test/**.pot?'
- 'jest.config.ts'
- 'tsup.config.js'
- 'tsconfig.json'
- 'package.json'
- 'package-lock.json'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Run ESlint
run: npm run lint
test:
name: Test (Node ${{ matrix.node-version }} on ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
node-version:
# - 12.x
# - 14.x
- 16.x
os:
- ubuntu-latest
- windows-latest
# - macos-latest
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run Jest
if: matrix.os != 'ubuntu-latest' || matrix.node-version != '16.x'
run: npm test
- name: Run Jest with coverage
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
run: npm test -- --coverage
# Save coverage report in Coveralls
- name: Coveralls
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
# - name: Codecov
# if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
# uses: codecov/codecov-action@v2
# with:
# directory: ./test/coverage/
# # token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
# # files: ./coverage1.xml,./coverage2.xml # optional
# flags: unittests # optional
# # path_to_write_report: ./coverage/codecov_report.txt
# # fail_ci_if_error: true # optional (default = false)
# verbose: true # optional (default = false)
- name: Build package
run: npm run build