File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Format and Lint
22on :
33 push :
44 pull_request :
5- branches : [ main ]
5+ branches : [main]
66concurrency :
77 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
88 cancel-in-progress : true
@@ -13,15 +13,15 @@ jobs:
1313 matrix :
1414 node-version : [18]
1515 steps :
16- - name : Check out branch (pull request)
17- uses : actions/checkout@v3
18- - name : Use Node.js ${{ matrix.node-version }}
19- uses : actions/setup-node@v3
20- with :
21- node-version : ${{ matrix.node-version }}
22- - name : Install packages
23- run : npm ci
24- - name : Check Formatting with Prettier
25- run : npx prettier --check .
26- - name : Lint with ESLint
27- run : npx eslint .
16+ - name : Check out branch (pull request)
17+ uses : actions/checkout@v3
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ - name : Install packages
23+ run : npm ci
24+ - name : Check Formatting with Prettier
25+ run : npx prettier --check .
26+ - name : Lint with ESLint
27+ run : npx eslint .
You can’t perform that action at this time.
0 commit comments