Skip to content

Commit

Permalink
ci: fix event trigger for publish and add registry
Browse files Browse the repository at this point in the history
  • Loading branch information
primeare committed Jan 29, 2024
1 parent 5bf6e6f commit 3d76ea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Package to NPM

on:
release:
types: [created]
types: [published]

jobs:
build:
Expand All @@ -20,6 +20,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- id: install-dependencies
name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 3d76ea1

Please sign in to comment.