generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
55 lines (53 loc) · 1.46 KB
/
publish.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Publish
run-name: Publish @sapphire/${{ inputs.package }}
on:
workflow_dispatch:
inputs:
package:
description: The package to release
required: true
type: choice
options:
- async-queue
- bitfield
- cron
- decorators
- discord-utilities
- discord.js-utilities
- duration
- eslint-config
- eslint-plugin-result
- event-iterator
- fetch
- iterator-utilities
- lexure
- node-utilities
- phisherman
- prettier-config
- ratelimits
- result
- snowflake
- stopwatch
- string-store
- time-utilities
- timer-manager
- timestamp
- ts-config
- utilities
skip-automatic-bump:
description: Whether to skip the automatic bumping of the packageversion
required: false
default: false
type: boolean
jobs:
PublishPackage:
name: Publish @sapphire/${{ inputs.package}}
uses: sapphiredev/.github/.github/workflows/reusable-publish.yml@main
with:
build: true
project-name: '@sapphire/${{ inputs.package}}'
working-directory: packages/${{ inputs.package }}
skip-automatic-bump: ${{ inputs.skip-automatic-bump }}
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
SKYRA_TOKEN: ${{ secrets.SKYRA_TOKEN }}