Skip to content

Commit

Permalink
changing release step to trigger on pr close and merge (#16)
Browse files Browse the repository at this point in the history
changing release step to trigger to allow new semantic release version
to be merged into code
  • Loading branch information
t1agob authored Sep 19, 2023
2 parents f4b7d8b + b717f0d commit a9ca170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: NPM Publish
name: Release

on:
push:
branches:
- main
pull_request:
types: [closed]

jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit a9ca170

Please sign in to comment.