mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
34 lines
649 B
YAML
34 lines
649 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: Node ${{ matrix.node_version }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node_version: [8, 10, 12, 13]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.1
|
|
- name: Use Node ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v2.1.1
|
|
with:
|
|
node_version: ${{ matrix.node_version }}
|
|
- name: Install
|
|
run: yarn
|
|
- name: Bootstrap Lerna
|
|
run: yarn bootstrap
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Clean
|
|
run: yarn clean
|
|
- name: Build
|
|
run: yarn build
|
|
- name: Test
|
|
run: yarn test
|