1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/.github/workflows/build_prs.yaml

23 lines
478 B
YAML
Raw Normal View History

2021-10-06 22:16:58 +02:00
name: PR -> Build & Lint
2021-03-04 14:27:43 +01:00
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
2021-03-04 14:27:43 +01:00
steps:
- uses: actions/checkout@v3
2021-03-04 14:27:43 +01:00
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
2021-03-04 14:27:43 +01:00
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile --ignore-scripts
2021-03-04 14:27:43 +01:00
- run: yarn lint
2021-10-06 22:16:58 +02:00
- run: yarn build