-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 924 Bytes
/
Copy pathtest.yml
File metadata and controls
46 lines (36 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Test
on:
push:
branches: ["*"]
jobs:
test:
name: Node 24
runs-on: ubuntu-latest
permissions:
contents: read
services:
redis:
image: redis:latest
ports:
- 6379:6379
env:
LOGGER_CONSOLE_LEVEL: "error"
REDIS_URI: redis://localhost
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Install dependencies
# ARM npm can omit optional x64 peers when it rewrites package-lock.json.
run: npm install
- name: Run Test
run: npm run test:ci
- name: Upload results to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}