Skip to content

Commit

Permalink
ci/cd updated
Browse files Browse the repository at this point in the history
  • Loading branch information
hsk11 committed Jul 2, 2024
1 parent 977a48d commit bbf926e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
name: Publish package to GitHub Packages
on:
pull_request:
types:
- closed
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
if:
(contains('
contains('
refs/heads/master
', github.ref) || contains('
refs/heads/main
', github.ref) )&& github.event.pull_request.merged == true
', github.ref)
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
Expand Down

0 comments on commit bbf926e

Please sign in to comment.