Skip to content

Github Actionのビルドパターン追加 #1118

Github Actionのビルドパターン追加

Github Actionのビルドパターン追加 #1118

Workflow file for this run

name: CI
permissions:
packages: write
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
- run: npm run build