forked from sombochea/verdaccio-ui
Update nodejs.yml
This commit is contained in:
parent
9b55b75f8a
commit
62b6edc821
20
.github/workflows/nodejs.yml
vendored
20
.github/workflows/nodejs.yml
vendored
@ -3,24 +3,7 @@ name: Node CI
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
ci:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: Use Node.js 10.x
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
version: 10.x
|
|
||||||
- name: Use Yarn 1.17.2
|
|
||||||
run: |
|
|
||||||
npm install -g yarn@1.17.2
|
|
||||||
- name: yarn build
|
|
||||||
run: |
|
|
||||||
yarn install
|
|
||||||
yarn build
|
|
||||||
test:
|
|
||||||
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
|
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
@ -41,4 +24,5 @@ jobs:
|
|||||||
- name: yarn build
|
- name: yarn build
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
|
yarn lint
|
||||||
yarn build
|
yarn build
|
||||||
|
Loading…
Reference in New Issue
Block a user