mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* add build check CI (#7)
* * add build check CI * * remove "npm i" * * update CHANGELOG
This commit is contained in:
parent
010eec3d7a
commit
3f31f3b902
2 changed files with 33 additions and 0 deletions
32
.github/workflows/build.yml
vendored
Normal file
32
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# 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
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
### Others
|
### Others
|
||||||
|
|
||||||
* Support Visual Studio Code officially.
|
* Support Visual Studio Code officially.
|
||||||
|
* Use GitHub Actions for build test.
|
||||||
|
|
||||||
## [1.0.0]
|
## [1.0.0]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue