1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-18 04:04:29 +07:00
verdaccio-ui/.github/workflows/main.yml

29 lines
648 B
YAML
Raw Normal View History

name: CI
2019-10-03 19:19:13 +07:00
on: [push, pull_request]
jobs:
build_test_lint:
name: Node ${{ matrix.node_version }} and ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node_version: [12, 13]
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
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
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build
run: yarn build