frequi_origin/.github/workflows/ci.yml

42 lines
658 B
YAML
Raw Normal View History

2020-05-18 19:51:04 +00:00
name: FreqUI CI
2020-05-18 18:28:24 +00:00
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
2020-12-05 18:52:32 +00:00
os: [ ubuntu-20.04 ]
2020-05-18 18:28:24 +00:00
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- run: yarn install
2020-05-18 18:28:24 +00:00
2020-05-18 18:49:30 +00:00
- name: Run Lint
2020-12-05 18:52:32 +00:00
run: yarn lint-ci
2020-11-10 19:52:39 +00:00
- name: Run Tests
2020-12-05 18:52:32 +00:00
run: yarn test:unit
- name: Build build
run: yarn build
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: FreqUI-dist
path: |
dist
!dist/**/*.md
retention-days: 10