aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorwabilin <[email protected]>2020-08-01 01:13:01 +0900
committerwabilin <[email protected]>2020-08-01 01:13:01 +0900
commita7e8dad7b053f3619f54acdd0c1ba6c035a6b0f3 (patch)
treea6f502c73ac1259cf1b930b533282185c0a39926 /.github/workflows
parentAdd ESLint (#1) (diff)
downloadholo-schedule-a7e8dad7b053f3619f54acdd0c1ba6c035a6b0f3.tar.xz
holo-schedule-a7e8dad7b053f3619f54acdd0c1ba6c035a6b0f3.zip
Add GitHub workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..e1f4a9b
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,22 @@
+name: Build
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [14.x]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - run: yarn install
+ - run: yarn lint
+ - run: yarn build