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 adea214356
Feature/refactor (#209)
* Change code style to 1TBS

* refactor creating ".ssh" directoy

* Add Windows-2022 / macOS-11 / macOS-12 / Ubuntu-22.04
Drop Ubuntu-16.04

* Drop centos:8 (Docker container)

* add CentOS 8 Stream (Docker container)

* use YAML alias

* Revert "use YAML alias"

This reverts commit 1ddbc7fde8.

* update .eslintrc

* move calling main to front
2022-10-30 19:57:06 +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:
- 12
fail-fast: false
steps:
- name: Turn off auto-crlf
run: git config --global core.autocrlf false
- name: Checkout source codes
uses: actions/checkout@v2
- 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
- name: Verify
run: npm run verify