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 c8a575584e
set workflow name (#226)
* set workflow name

* update actions/checkout version: v2 -> v3

* update actions/setup-node version: v1 -> v3
2022-12-21 11:14:30 +09:00

40 lines
842 B
YAML

# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Build
on:
- push
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- Windows-2019
- Windows-2022
- macOS-10.15
- macOS-11
- macOS-12
- Ubuntu-18.04
- Ubuntu-20.04
- Ubuntu-22.04
nodejs:
- 16
fail-fast: false
steps:
- name: Turn off auto-crlf
run: git config --global core.autocrlf false
- name: Checkout source codes
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodejs }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Verify
run: npm run verify