Skip to content

Commit 93bcc8b

Browse files
chore(ci): add GitHub Actions
1 parent 5e05f62 commit 93bcc8b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: ["*"]
6+
7+
concurrency:
8+
group: ${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/[email protected]
17+
- name: Use Node version defined in manifest
18+
uses: volta-cli/action@v4
19+
- name: Node.js version
20+
run: node -v
21+
- name: npm version
22+
run: npm -v
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Check for build errors
26+
run: npm run build
27+
- name: Run test suite
28+
run: npm test

0 commit comments

Comments
 (0)