/
action.yml
45 lines (43 loc) · 1.74 KB
/
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
36
37
38
39
40
41
42
43
44
45
# Copyright 2023 Adobe. All rights reserved.
# This file is licensed to you under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. You may obtain a copy
# of the License at http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
# OF ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.
name: 'Update your package.json with an npm pre-release version, and update dependencies with pre-release versions'
description: 'Modifies your package.json with a pre-release version in the form X.Y.Z-pre.YYYMMDD.<commitShaHash>'
branding:
icon: 'box'
color: 'red'
inputs:
pre-release-tag:
description: 'the pre-release tag to set'
required: false
default: 'pre'
package-json-path:
description: 'the package.json file'
required: false
default: 'package.json'
dependencies-to-update:
description: 'the dependencies to update with a version tag (comma separated)'
required: false
default: ''
dependencies-to-update-version-tag:
description: 'the version tag for the dependencies to update'
required: false
default: 'next'
package-name:
description: 'the new package name to publish to'
required: false
skip-dependencies-to-update:
description: 'skip updating any =dependencies to update (see dependencies-to-update setting)'
required: false
default: false
outputs:
pre-release-version:
description: 'the pre-release version that was set'
runs:
using: 'node20'
main: 'dist/index.js'