1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-01 10:24:26 +07:00
verdaccio-ui/.github/workflows/nodejs.yml

29 lines
620 B
YAML
Raw Normal View History

2019-08-10 18:54:27 +07:00
name: Node CI
on: [push]
jobs:
2019-08-11 02:38:21 +07:00
ci:
2019-08-11 02:29:56 +07:00
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [8, 10, 12]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
version: ${{ matrix.node_version }}
- name: Use Yarn 1.17.2
run: |
npm install -g yarn@1.17.2
- name: yarn build
run: |
yarn install
2019-08-11 02:38:21 +07:00
yarn lint
2019-08-11 02:29:56 +07:00
yarn build