Skip to content

Commit 4eaa533

Browse files
committed
chore: add CI run-tests action
1 parent 34cbe06 commit 4eaa533

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run tests
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ master ]
7+
paths:
8+
- 'src/**'
9+
- 'package.json'
10+
- 'yarn.lock'
11+
pull_request:
12+
types: [opened, synchronize, reopened]
13+
14+
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: '18'
22+
cache: 'yarn'
23+
- run: yarn && yarn build && yarn test

0 commit comments

Comments
 (0)