Skip to content

Commit 9b8bbc6

Browse files
committed
format github/workflows/format-and-lint.yml
1 parent 7923b51 commit 9b8bbc6

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/format-and-lint.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Format and Lint
22
on:
33
push:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66
concurrency:
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 .

0 commit comments

Comments
 (0)