0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.github/workflows/ci.yml
renovate[bot] a99ea00c3a
chore(deps): update actions/checkout action to v2.4.0 (#2896)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 22:21:30 +01:00

31 lines
633 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, 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
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