Skip to content

Commit 9aba5a0

Browse files
committed
Add GitHub actions workflow for validating commits
1 parent d84acc8 commit 9aba5a0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: validate commit
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 22
18+
cache: 'npm'
19+
cache-dependency-path: '*/package-lock.json'
20+
- run: npm run test

0 commit comments

Comments
 (0)