Try a different conditional

This commit is contained in:
Josh de Leeuw 2025-01-17 11:29:47 -05:00 committed by GitHub
parent 6079c29522
commit 14b2586db1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,12 +2,9 @@ name: build
on: [push, pull_request] on: [push, pull_request]
concurrency:
group: ci-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs: jobs:
test: test:
if: github.event_name == 'push' && !contains(github.ref, '/merge') || github.event_name == 'pull_request'
name: Build, lint, and test on Node.js ${{ matrix.node }} name: Build, lint, and test on Node.js ${{ matrix.node }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: