Skip to content

Commit

Permalink
ci: add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sefornes committed Jan 17, 2025
1 parent ff0a6f2 commit edcb7b6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to NPM
on:
workflow_call:
inputs:
working_directory:
description: "The working directory to publish from"
required: false
default: "."
type: string
secrets:
npm_token:
description: "The NPM token to use for publishing"
required: true

jobs:
publish:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

0 comments on commit edcb7b6

Please sign in to comment.