brouter-web/.github/workflows/build.yml
2023-02-22 18:56:38 +01:00

27 lines
841 B
YAML

name: build
on: [push, pull_request]
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !(github.actor == 'renovate' && github.event_name == 'pull_request') }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: |
echo "actor: ${{ github.github.actor }}"
echo "event_name: ${{ github.event_name }}"
echo "result: ${{ !('renovate' == 'renovate' && 'pull_request' == 'pull_request') }}"
- run: yarn --frozen-lockfile
- run: yarn test
- run: yarn lint
- run: yarn pretty-quick --check
- run: yarn build