-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 828 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (36 loc) · 828 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
name: CI
on:
push:
branches:
- develop
pull_request:
branches:
- main
- develop
workflow_call:
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm ci
# TypeScript のビルド (dist/*.js を生成)
- run: npm run build
# 分割モジュールの純関数ユニットテスト (node:test)
- run: npm test
# ESLint (src 全体)
- run: npm run lint