mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
30 lines
742 B
YAML
30 lines
742 B
YAML
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
|
|
|
on: push
|
|
name: Build
|
|
jobs:
|
|
build:
|
|
name: Build on ${{ matrix.os }} / Node.js v${{ matrix.nodejs }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- Windows-latest
|
|
- macOS-latest
|
|
- Ubuntu-latest
|
|
nodejs:
|
|
- 12
|
|
fail-fast: false
|
|
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: Install dependencies
|
|
run: npm ci
|
|
- name: Build
|
|
run: npm run build
|