brouter-web/.github/workflows/build.yml
Norbert Renner 4c8005b2a4
Ignore renovate branches for push events
as skipping job with if statement still cancels concurrent
2023-02-23 10:26:24 +01:00

26 lines
574 B
YAML

name: build
on:
push:
branches-ignore:
- 'renovate/**'
pull_request:
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: yarn --frozen-lockfile
- run: yarn test
- run: yarn lint
- run: yarn pretty-quick --check
- run: yarn build