Files
NapCatQQ/.pnpm-store/v3/files/d8/7f024238c80121ba73f84512bf5783979fd8c4e2a31ca199504a4c6ec03d461bea9ac934fe75e128bb5ed4671aa9702b0464c8b392d8ab39c7bda0a1bca501
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

31 lines
547 B
Plaintext

name: Run npm Tests
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 23]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test