Skip to content

Commit e0e8356

Browse files
authored
Create test.yml
1 parent 3b92ba8 commit e0e8356

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.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 with npm
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ "main" ]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@4.2.2
19+
- name: Setup Node
20+
uses: actions/setup-node@4.3.0
21+
with:
22+
node-version: 22
23+
registry-url: https://registry.npmjs.org/
24+
cache: npm
25+
- run: npm ci
26+
- run: npm test

0 commit comments

Comments
 (0)