Skip to content

Commit 3060098

Browse files
Test on push
1 parent da8a807 commit 3060098

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: tests
2+
on:
3+
push:
4+
branches-ignore: [main]
5+
workflow_dispatch:
6+
7+
jobs:
8+
unit-tests:
9+
strategy:
10+
matrix:
11+
os: ['ubuntu-latest']
12+
node_version: [lts/-1, lts/*, latest]
13+
fail-fast: false
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node_version }}
20+
cache: pnpm
21+
- run: pnpm install
22+
- run: pnpm run build
23+
- run: pnpm run test

0 commit comments

Comments
 (0)