mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
a6c8ea8bfc
* chore: add more specific version of nodejs I want o to be more clear against what we are testing * chore: coverage as last step * chore: add codecov * chore: re-organize the steps
29 lines
573 B
YAML
29 lines
573 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: Node ${{ matrix.node_version }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node_version: [10, 12, 13]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node_version: ${{ matrix.node_version }}
|
|
- name: Install
|
|
run: yarn install --pure-lockfile
|
|
- name: Build
|
|
run: yarn code:build
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Test
|
|
run: yarn test
|