mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 07:58:03 +00:00
72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
name: PR
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Linting
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: lint
|
|
run: |
|
|
yarn install --frozen-lockfile
|
|
yarn lint
|
|
|
|
test:
|
|
name: Testing
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: test
|
|
run: |
|
|
yarn install --frozen-lockfile
|
|
yarn test
|
|
|
|
build_code:
|
|
name: Build Code
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: build
|
|
run: |
|
|
yarn install --frozen-lockfile
|
|
yarn build
|
|
|
|
build_docs:
|
|
name: Build Docs
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: build
|
|
run: |
|
|
yarn install --frozen-lockfile
|
|
yarn docs
|