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 fc21805258
Update nodejs version to 16 (#208) (#216)
* Update nodejs version to 16 (#208)

* Update nodejs version to 16

* Update runtime used to node16

* update CHANGELOG

Co-authored-by: Davide Doronzo <duddu@users.noreply.github.com>
2022-10-30 22:47:45 +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@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