1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00
ssh-key-action/.github/workflows/build.yml
shimataro 3f31f3b902
* add build check CI (#7)
* * add build check CI

* * remove "npm i"

* * update CHANGELOG
2019-09-18 23:13:14 +09:00

32 lines
758 B
YAML

# https://help.github.com/ja/articles/workflow-syntax-for-github-actions
on:
push:
branches:
- master
- develop
pull_request:
name: Build check
jobs:
build:
name: Build on ${{ matrix.platform }} / Node.js v${{ matrix.nodejs }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform:
- "Windows-latest"
- "macOS-latest"
- "Ubuntu-latest"
nodejs:
- 12
steps:
- name: Turn off auto-crlf
run: git config --global core.autocrlf false
- name: Checkout source codes
uses: actions/checkout@v1
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}
- name: Build
run: npm run build