mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
29 lines
581 B
YAML
29 lines
581 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: Node ${{ matrix.node_version }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node_version: [12, 14, 15, 16]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.3
|
|
- name: Use Node ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v2.1.5
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
- name: Install
|
|
run: yarn install --immutable
|
|
- name: Build
|
|
run: yarn code:build
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Test
|
|
run: yarn test
|