Skip to content

Commit f298b57

Browse files
committed
ci: run tests
1 parent b14428f commit f298b57

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
strategy:
8+
matrix:
9+
node-version: [22.x]
10+
redis-version: [7]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
cache: 'npm'
19+
- name: Use Redis ${{ matrix.redis-version }}
20+
uses: supercharge/redis-github-action@1.8.0
21+
with:
22+
redis-version: ${{ matrix.redis-version }}
23+
- run: npm ci
24+
- run: npm run build --if-present
25+
- run: npm test

0 commit comments

Comments
 (0)