Skip to content

Commit a90772c

Browse files
feat: basic pull request github action
1 parent 90b8efd commit a90772c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Pull Request
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Use Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: '14.x'
15+
cache: 'npm'
16+
17+
- name: Installing dependencies
18+
run: npm ci
19+
20+
- name: Running tests
21+
run: npm run test
22+
23+
- name: Running lint
24+
run: npm run lint
25+
26+
- name: Running typecheck
27+
run: npm run typecheck
28+

0 commit comments

Comments
 (0)