Skip to content

Commit 38d5d1f

Browse files
committed
pull-request workflow
1 parent b70de08 commit 38d5d1f

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/pull-request.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR review
2+
on:
3+
pull_request:
4+
jobs:
5+
code-quality:
6+
name: Code quality
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
test-name: [lint, ts, format]
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20.11.1
18+
cache: yarn
19+
- name: Install dependencies
20+
run: yarn
21+
- name: test ${{ matrix.test-name }}
22+
run: yarn test:${{ matrix.test-name }}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"packageManager": "[email protected]",
88
"engines": {
9-
"node": "v20.10.0"
9+
"node": "v20.11.1"
1010
},
1111
"scripts": {
1212
"format": "concurrently 'yarn:format:*'",

0 commit comments

Comments
 (0)