Skip to content

Commit

Permalink
refactor: gitHub Actions workflow to trigger on release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Oct 20, 2024
1 parent 6466d30 commit 22388c9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
name: Node.js Package

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths:
- "package.json"
release:
types: [created]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit 22388c9

Please sign in to comment.