Skip to content

Commit

Permalink
Merge pull request #12 from okhiroyuki/feature/add-node-ci
Browse files Browse the repository at this point in the history
Create node-ci.yml
  • Loading branch information
okhiroyuki authored Aug 20, 2023
2 parents 448cabd + 5d5e3a6 commit 06710ed
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ["16","18"]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true

0 comments on commit 06710ed

Please sign in to comment.