Skip to content

Commit

Permalink
fix: trigger pipeline on merge pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 24, 2023
1 parent 3e68bda commit fcf2a38
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/javascript-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ on:
paths-ignore:
- "README.md"
- "CHANGELOG.md"
pull_request:
types:
- closed

jobs:
test:
runs-on: ubuntu-latest
if: |
github.event_name != 'pull_request' ||
github.event.pull_request.merged == true
strategy:
matrix:
node: [19.7]
Expand Down Expand Up @@ -65,7 +71,7 @@ jobs:
fi
release:
needs: [test, build]
needs: [build]
concurrency: release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit fcf2a38

Please sign in to comment.