Skip to content

Commit 8abc8d3

Browse files
authored
feat: test.yml (#57)
1 parent e0e55b1 commit 8abc8d3

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: "20"
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Run tests
24+
run: npm run test

0 commit comments

Comments
 (0)