Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatakeshi committed Nov 12, 2019
2 parents 9d74f66 + ed8c736 commit a9021c3
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node CI
on: [push]

jobs:
build:
build-ubuntu:
runs-on: ubuntu-latest

strategy:
Expand All @@ -25,3 +25,48 @@ jobs:
npm test
env:
CI: true
build-windows:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 13.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm i -g npm
npm install
npm ci
npm run build --if-present
npm test
env:
CI: true
build-mac:
runs-on: macOS-latest

strategy:
matrix:
node-version: [10.x, 12.x, 13.x]

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

0 comments on commit a9021c3

Please sign in to comment.