We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5313cbe commit 23049caCopy full SHA for 23049ca
.github/workflows/lint-and-format.yml
@@ -0,0 +1,27 @@
1
+name: Lint and Format
2
+
3
+on:
4
+ - push
5
+ - pull_request
6
7
+jobs:
8
+ lint-and-format:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 18
19
20
+ - name: Install packages
21
+ run: yarn install --frozen-lockfile
22
23
+ - name: Run ESLint
24
+ run: yarn lint
25
26
+ - name: Check Prettier formatting
27
+ run: yarn format:check
.github/workflows/tests.yml
@@ -18,7 +18,7 @@ jobs:
node-version: 18
- name: Install packages
- uses: bahmutov/npm-install@v1
- name: Run tests
- run: npm run test
+ run: yarn test
0 commit comments