1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/.github/workflows/ci.yml

44 lines
828 B
YAML
Raw Normal View History

name: CI
on:
push:
branches:
- master
pull_request:
paths:
- .github/workflows/ci.yml
- 'packages/**'
- 'jest/**'
- 'package.json'
- 'lerna.json'
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [10, 12, 13, 14]
runs-on: ubuntu-latest
steps:
2020-03-03 23:59:19 +01:00
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
2020-03-03 23:59:19 +01:00
uses: actions/setup-node@v2.1.1
with:
2020-03-03 23:59:19 +01:00
node_version: ${{ matrix.node_version }}
- name: Install
run: yarn --frozen-lockfile
2020-03-03 23:59:19 +01:00
- name: Bootstrap Lerna
run: yarn bootstrap
- name: Lint
run: yarn lint
2020-03-03 23:59:19 +01:00
- name: Clean
run: yarn clean
- name: Build
run: yarn build
- name: Test
run: yarn test