@mafintosh/ci-testing 1.1.0 → 2.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
1
  name: Release to public npm
2
- run-name: "Release (${{ inputs.bump }})"
3
-
2
+ run-name: "Release (${{ inputs.bump }}${{ inputs.preid && format('-{0}', inputs.preid) || '' }})"
4
3
  on:
5
4
  workflow_dispatch:
6
5
  inputs:
@@ -12,13 +11,25 @@ on:
12
11
  - patch
13
12
  - minor
14
13
  - major
14
+ - prerelease
15
+ preid:
16
+ description: Pre-release identifier
17
+ required: false
18
+ type: string
19
+ tag:
20
+ description: npm dist-tag
21
+ required: false
22
+ default: 'latest'
23
+ type: string
15
24
  permissions:
16
25
  contents: write
17
26
  id-token: write
18
27
  jobs:
19
28
  release:
20
- uses: mafintosh/actions/.github/workflows/public-publish.yml@review
29
+ uses: mafintosh/actions/.github/workflows/public-publish.yml@main
21
30
  with:
22
31
  bump: ${{ inputs.bump }}
32
+ preid: ${{ inputs.preid }}
33
+ tag: ${{ inputs.tag }}
23
34
  secrets:
24
35
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mafintosh/ci-testing",
3
- "version": "1.1.0",
3
+ "version": "2.0.1-beta.0",
4
4
  "description": "hello",
5
5
  "homepage": "https://github.com/mafintosh/ci-testing#readme",
6
6
  "bugs": {