From 3f31f3b902e0541400e15a66005d31f858c47ba7 Mon Sep 17 00:00:00 2001 From: shimataro Date: Wed, 18 Sep 2019 23:13:14 +0900 Subject: [PATCH] * add build check CI (#7) * * add build check CI * * remove "npm i" * * update CHANGELOG --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1cdbec4 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d77646..526eafe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Others * Support Visual Studio Code officially. +* Use GitHub Actions for build test. ## [1.0.0]