Skip to content

Commit

Permalink
Add Github action for build
Browse files Browse the repository at this point in the history
  • Loading branch information
rtucek committed Sep 9, 2021
1 parent 469b3fe commit 06c5b6c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI Build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test-unit:
name: "CI Build Testing"
timeout-minutes: 5
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
node:
- "16"
- "14"
- "12"

steps:
- name: Checkout
uses: actions/checkout@v2.3.4

- name: Setup Node.js version ${{ matrix.node }}
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Test Build
run: yarn run build

0 comments on commit 06c5b6c

Please sign in to comment.