Skip to content

Commit

Permalink
Merge pull request #90 from yutak23/feature/chore-add-ci
Browse files Browse the repository at this point in the history
chore: add test.yaml for ci
  • Loading branch information
ca98am79 committed Jan 16, 2024
2 parents 863fff0 + 9685fae commit c9ccc47
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test CI

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
- run: npm test:types

0 comments on commit c9ccc47

Please sign in to comment.