1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows/build_prs.yaml
Christopher Kolstad 9f5b7b610a
chore: add paths-ignore to more workflows (#4041)
### What
To reduce the work needed, this PR adds paths-ignore to avoid building
unnecessary workflows.

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-07-05 14:29:37 +02:00

26 lines
543 B
YAML

name: PR -> Build & Lint
on:
pull_request:
paths-ignore:
- frontend/**
- website/**
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile --ignore-scripts
- run: yarn lint
- run: yarn build:backend