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

46 lines
881 B
YAML
Raw Normal View History

name: CI
on:
push:
branches:
- master
pull_request:
paths:
- .github/workflows/ci.yml
- 'packages/**'
- 'jest/**'
- 'package.json'
- 'pnpm-workspace.yaml'
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [10, 12, 14]
runs-on: ubuntu-latest
steps:
2020-03-03 17:59:19 -05:00
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
2020-03-03 17:59:19 -05:00
node_version: ${{ matrix.node_version }}
- name: Install pnpm
run: npm i -g pnpm
- name: Install
run: pnpm recursive install
- name: Install packages
run: pnpm install -r
- name: Lint
run: pnpm lint
2020-03-03 17:59:19 -05:00
- name: Clean
run: pnpm clean
2020-03-03 17:59:19 -05:00
- name: Build
run: pnpm build
- name: Test
run: pnpm test