Skip to content

Commit 84b1d77

Browse files
Create testauto.yml
1 parent a96ad70 commit 84b1d77

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/testauto.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Node.js Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
13+
- name: Use Node.js
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: '18' # You can choose a different Node.js version if needed.
17+
18+
- name: Install dependencies
19+
run: npm ci
20+
21+
- name: Run tests
22+
run: npm start

0 commit comments

Comments
 (0)