Updated attribution files for commit 3a4d7dc471615e380f7117dd6d804f1e… #15
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 | |
- release-* | |
- v* | |
paths: | |
- benchmarks/node/** | |
- node/** | |
- benchmarks/utilities/* | |
- .github/workflows/lint-ts.yml | |
pull_request: | |
paths: | |
- benchmarks/node/** | |
- node/** | |
- benchmarks/utilities/* | |
- .github/workflows/lint-ts.yml | |
workflow_dispatch: | |
concurrency: | |
group: node-lint-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run linting and prettier | |
run: | | |
for folder in node benchmarks/node benchmarks/utilities; do | |
npx eslint ${{ github.workspace }}/$folder -c ${{ github.workspace }}/eslint.config.mjs | |
npx prettier --check ${{ github.workspace }}/$folder | |
done |