mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 06:54:27 +07:00
Update nodejs.yml
This commit is contained in:
parent
ade58caf41
commit
9b55b75f8a
22
.github/workflows/nodejs.yml
vendored
22
.github/workflows/nodejs.yml
vendored
@ -20,3 +20,25 @@ jobs:
|
||||
run: |
|
||||
yarn install
|
||||
yarn build
|
||||
test:
|
||||
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: [8, 10, 12]
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node_version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
version: ${{ matrix.node_version }}
|
||||
|
||||
- name: Use Yarn 1.17.2
|
||||
run: |
|
||||
npm install -g yarn@1.17.2
|
||||
- name: yarn build
|
||||
run: |
|
||||
yarn install
|
||||
yarn build
|
||||
|
Loading…
Reference in New Issue
Block a user