1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-28 00:44:30 +07:00

Update nodejs.yml

This commit is contained in:
Juan Picado @jotadeveloper 2019-08-10 21:38:21 +02:00 committed by GitHub
parent 9b55b75f8a
commit 62b6edc821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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