Improve readability of transaction test (#973) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint-ts | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- benchmarks/node/** | |
- node/** | |
- benchmarks/utilities/* | |
- .github/workflows/lint-ts.yml | |
pull_request: | |
paths: | |
- benchmarks/node/** | |
- node/** | |
- benchmarks/utilities/* | |
- .github/workflows/lint-ts.yml | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/lint-ts | |
with: | |
package-folder: ./node | |
name: lint node | |
- uses: ./.github/workflows/lint-ts | |
with: | |
package-folder: ./benchmarks/node | |
name: lint benchmark | |
- uses: ./.github/workflows/lint-ts | |
with: | |
package-folder: ./benchmarks/utilities | |
name: lint benchmark utilities | |
- name: lint ts | |
run: | | |
npm install @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-tsdoc eslint typescript eslint-plugin-import@latest eslint-config-prettier | |
npm i | |
npx eslint . |