0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/.github/workflows/ci.yml
Juan Picado a7ba76423e refactor: test api refactor (#1826)
* test: add test for whoami

* Update middleware.ts

* test for user api

* more test for user api

* remove repeated code

* refactor

* Update index.spec.ts

* add package test

refactor others

* chore: upgrade deps

* chore: add test for package

* chore: update test

* update lock file

* Update ci.yml

* Update ci.yml

* Update package.spec.ts

* chore: update ci settings

* chore: update deps

* chore: update test
2021-04-09 17:54:11 +02:00

43 lines
828 B
YAML

name: CI
on:
push:
branches:
- master
pull_request:
paths:
- .github/workflows/ci.yml
- 'packages/**'
- 'jest/**'
- 'package.json'
- 'lerna.json'
jobs:
ci:
name: Node ${{ matrix.node_version }}
strategy:
fail-fast: false
matrix:
node_version: [10, 12, 13, 14]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.1
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v2.1.1
with:
node_version: ${{ matrix.node_version }}
- name: Install
run: yarn --frozen-lockfile
- name: Bootstrap Lerna
run: yarn bootstrap
- name: Lint
run: yarn lint
- name: Clean
run: yarn clean
- name: Build
run: yarn build
- name: Test
run: yarn test