1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-25 13:44:31 +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]
jobs:
build:
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:
ci:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
@ -41,4 +24,5 @@ jobs:
- name: yarn build
run: |
yarn install
yarn lint
yarn build