Skip to content

Commit 40e6c76

Browse files
committed
chore: add test action
1 parent 96706dc commit 40e6c76

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
7+
permissions:
8+
contents: read # for checkout
9+
10+
jobs:
11+
test:
12+
name: Test
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 'lts/*'
23+
- name: Install dependencies
24+
run: npm clean-install
25+
- name: Run tests
26+
run: npm test

0 commit comments

Comments
 (0)