-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (32 loc) · 983 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Publish branch to npm'
description: 'Publish a pre-release version of an npm package to the registry'
author: 'Wistia Engineering'
inputs:
github_token:
description: 'GitHub authorization token'
required: true
npm_token:
description: 'npm authorization token'
required: true
commit_hash:
description: 'SHA-1 hash of the commit to publish'
required: true
default: '${{ github.event.pull_request.head.sha }}'
workspace:
description: 'Can be used to specify a workspace to publish (ie. @organization/workspace)'
required: false
default: ''
dry_run:
description: 'If true, will run action normally except it will not publish anything to npm'
required: false
default: 'false'
working_directory:
description: 'The directory to run commands in (ie. the root directory of the package/s)'
required: false
default: '.'
runs:
using: 'node20'
main: 'dist/index.mjs'
branding:
icon: package
color: red