Skip to content

Commit

Permalink
Github Actionのビルドパターンを増やした (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
pasta04 authored Sep 29, 2024
1 parent 62abb12 commit 85140e8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ on:

jobs:
test:
runs-on: ubuntu-latest
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@v3

- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: ${{ matrix.node-version }}
cache: "npm"

- run: npm ci
- run: npm test
- run: npm run build

0 comments on commit 85140e8

Please sign in to comment.