0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/.github/workflows/ci.yml

48 lines
1 KiB
YAML
Raw Normal View History

name: CI
on:
push:
branches:
2020-08-14 12:23:08 -05:00
- 5.x
2020-09-01 14:22:36 -05:00
- 'changeset-release/5.x'
pull_request:
paths:
- .changeset/**
- .github/workflows/ci.yml
2020-09-01 14:22:36 -05:00
- 'packages/**'
- 'jest/**'
- 'package.json'
- 'pnpm-workspace.yaml'
jobs:
ci:
strategy:
fail-fast: false
matrix:
2020-08-31 15:21:38 -05:00
os: [ubuntu-latest, windows-latest]
node_version: [10, 12, 14, 15]
2020-09-01 14:22:36 -05:00
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
2020-08-31 15:21:38 -05:00
runs-on: ${{ matrix.os }}
steps:
2020-08-27 14:23:56 -05:00
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node_version: ${{ matrix.node_version }}
- name: Install pnpm
run: npm i pnpm@5.5.12 -g
2020-08-27 14:23:56 -05:00
- name: Install
run: pnpm recursive install
- name: Format
run: pnpm format:check
2020-08-27 14:23:56 -05:00
- name: Lint
run: pnpm lint
- name: Clean
run: pnpm clean
- name: Build
run: pnpm build
- name: Test
run: pnpm test