mirror of
https://github.com/SomboChea/ui
synced 2024-12-25 13:44:31 +07:00
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]
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user