Skip to content

Commit

Permalink
feat: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward committed Jan 6, 2021
1 parent 3856135 commit 8efe8cd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [14]

env:
NODE_ENV: test

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn
run: |
curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
- name: yarn build
run: |
yarn

0 comments on commit 8efe8cd

Please sign in to comment.