Files
npm_publish/action.yaml
Bryce Thorup dd606843c0 a
2024-01-01 11:34:23 -07:00

19 lines
498 B
YAML

name: npm-publish
description: "publishes latest version tag to a npm repository"
author: "Bryce Thorup"
inputs:
npm_repo_key:
description: Key used for publising to npm repo
required: true
npm_repo_url:
description: URL to npm repo
required: true
runs:
using: "composite"
steps:
- run: $GITHUB_ACTION_PATH/action.sh
env:
NPM_REPO_KEY: ${{ github.events.inputs.npm_repo_key}}
NPM_REPO_URL: ${{ github.events.inputs.npm_repo_url}}
shell: bash