0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/.github/workflows/ci.yml

32 lines
633 B
YAML
Raw Normal View History

name: CI
on: [push, pull_request]
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [12, 14, 15, 16, 17]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node_version }}
- name: Install
2020-10-11 12:06:21 -05:00
run: yarn install --immutable
- name: Build
run: yarn code:build
- name: Format
run: yarn format:check
- name: Lint
run: yarn lint
- name: Test
run: yarn test