mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 15:04:27 +07:00
Merge remote-tracking branch 'origin/master' into update-stack
This commit is contained in:
commit
2dfa7aa4d6
27
.github/workflows/nodejs.yml
vendored
27
.github/workflows/nodejs.yml
vendored
@ -3,17 +3,26 @@ name: Node CI
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
ci:
|
||||||
|
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node_version: [8, 10, 12]
|
||||||
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v1
|
||||||
- name: Use Node.js 10.x
|
- name: Use Node.js ${{ matrix.node_version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
version: 10.x
|
version: ${{ matrix.node_version }}
|
||||||
- name: npm install, build, and test
|
|
||||||
|
- name: Use Yarn 1.17.2
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install -g yarn@1.17.2
|
||||||
npm test
|
- name: yarn build
|
||||||
|
run: |
|
||||||
|
yarn install
|
||||||
|
yarn lint
|
||||||
|
yarn build
|
||||||
|
Loading…
Reference in New Issue
Block a user