File tree Expand file tree Collapse file tree 2 files changed +32
-14
lines changed
Expand file tree Collapse file tree 2 files changed +32
-14
lines changed Original file line number Diff line number Diff line change 1+ name : JS linters
2+
3+ # Cancel workflow if there is a new change to the branch.
4+ concurrency :
5+ group : ${{ github.workflow }}-${{ github.ref }}
6+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
7+
8+ on :
9+ merge_group :
10+ pull_request :
11+ branches :
12+ - main
13+ push :
14+ branches :
15+ - main
16+ paths :
17+ - ' benchmarks/**'
18+
19+ jobs :
20+ run-js-linters :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v4
24+ - uses : actions/setup-node@v4
25+ with :
26+ node-version : " 18"
27+ - run : |
28+ cd benchmarks/
29+ corepack enable
30+ yarn install --immutable
31+ yarn js-lint
32+ yarn js-fmt-check
Original file line number Diff line number Diff line change 6969 # https://github.com/hadolint/hadolint/wiki/DL3008
7070 # https://github.com/hadolint/hadolint/wiki/DL3018
7171 ignore : DL3008,DL3018
72-
73- run-js-linters :
74- runs-on : ubuntu-latest
75- steps :
76- - uses : actions/checkout@v4
77- - uses : actions/setup-node@v4
78- with :
79- node-version : " 18"
80- - run : |
81- cd benchmarks/
82- corepack enable
83- yarn install --immutable
84- yarn js-lint
85- yarn js-fmt-check
You can’t perform that action at this time.
0 commit comments