@codfish/actions-playground 0.0.0-PR-61--d5eb97b → 1.0.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.
- package/.github/workflows/release.yml +4 -40
- package/.github/workflows/validate.yml +1 -9
- package/Dockerfile +1 -1
- package/package.json +1 -2
- package/provisioning/Chart.yml +2 -2
- package/release.config.js +4 -0
- package/test.txt +2 -4
|
@@ -4,6 +4,7 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
+
- develop
|
|
7
8
|
- alpha
|
|
8
9
|
- beta
|
|
9
10
|
- next
|
|
@@ -27,44 +28,6 @@ jobs:
|
|
|
27
28
|
with:
|
|
28
29
|
node-version: 18.x
|
|
29
30
|
|
|
30
|
-
- name: semantic release dry run
|
|
31
|
-
uses: codfish/semantic-release-action@fix-docker-image
|
|
32
|
-
id: semantic-dry-run
|
|
33
|
-
with:
|
|
34
|
-
dry-run: true
|
|
35
|
-
env:
|
|
36
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
37
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
38
|
-
|
|
39
|
-
- name: semantic release dry run
|
|
40
|
-
uses: docker://ghcr.io/codfish/semantic-release-action@REF_NAME
|
|
41
|
-
id: semantic-dry-run
|
|
42
|
-
with:
|
|
43
|
-
dry-run: true
|
|
44
|
-
env:
|
|
45
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
46
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
-
|
|
48
|
-
- name: Dump semantic dry run outputs
|
|
49
|
-
if: steps.semantic-dry-run.outputs.new-release-published == 'true'
|
|
50
|
-
run: |
|
|
51
|
-
echo "Outputs:\n"
|
|
52
|
-
echo "$SEMANTIC_OUTPUTS"
|
|
53
|
-
echo "\n-----\n\nEnvironment Variables:\n"
|
|
54
|
-
echo "NEW_RELEASE_PUBLISHED: $NEW_RELEASE_PUBLISHED"
|
|
55
|
-
echo "RELEASE_VERSION: $RELEASE_VERSION"
|
|
56
|
-
echo "RELEASE_MAJOR: $RELEASE_MAJOR"
|
|
57
|
-
echo "RELEASE_MINOR: $RELEASE_MINOR"
|
|
58
|
-
echo "RELEASE_PATCH: $RELEASE_PATCH"
|
|
59
|
-
echo "RELEASE_NOTES: $RELEASE_NOTES"
|
|
60
|
-
echo "RELEASE_TYPE: $RELEASE_TYPE"
|
|
61
|
-
echo "RELEASE_CHANNEL: $RELEASE_CHANNEL"
|
|
62
|
-
echo "RELEASE_GIT_HEAD: $RELEASE_GIT_HEAD"
|
|
63
|
-
echo "RELEASE_GIT_TAG: $RELEASE_GIT_TAG"
|
|
64
|
-
echo "RELEASE_NAME: $RELEASE_NAME"
|
|
65
|
-
env:
|
|
66
|
-
SEMANTIC_OUTPUTS: ${{ toJson(steps.semantic-dry-run.outputs) }}
|
|
67
|
-
|
|
68
31
|
- shell: bash
|
|
69
32
|
run: |
|
|
70
33
|
echo "DOCKER_TAGS=main-${GITHUB_SHA},main,latest" >> $GITHUB_ENV;
|
|
@@ -87,11 +50,12 @@ jobs:
|
|
|
87
50
|
run: docker build -t codfish/actions-playground:latest .
|
|
88
51
|
|
|
89
52
|
- name: semantic-release
|
|
90
|
-
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:
|
|
53
|
+
# uses: docker://ghcr.io/codfish/semantic-release-action@sha256:d396038765af1ceaa77f4ba39130af6e7a7e264bf17cb675ea1b0524d11adf3e
|
|
54
|
+
uses: codfish/semantic-release-action@config-file
|
|
91
55
|
id: semantic
|
|
92
56
|
with:
|
|
93
57
|
additional-packages: |
|
|
94
|
-
['@google/semantic-release-replace-plugin', '@semantic-release/git']
|
|
58
|
+
['@google/semantic-release-replace-plugin', '@semantic-release/git', 'conventional-changelog-conventionalcommits@7']
|
|
95
59
|
plugins: |
|
|
96
60
|
[
|
|
97
61
|
'@semantic-release/commit-analyzer',
|
|
@@ -39,15 +39,7 @@ jobs:
|
|
|
39
39
|
hashFiles('**/package-lock.json') }}
|
|
40
40
|
|
|
41
41
|
- name: semantic release dry run
|
|
42
|
-
uses: codfish/semantic-release-action@
|
|
43
|
-
with:
|
|
44
|
-
dry-run: true
|
|
45
|
-
env:
|
|
46
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
47
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
48
|
-
|
|
49
|
-
- name: semantic release dry run
|
|
50
|
-
uses: docker://ghcr.io/codfish/semantic-release-action:fix-docker-image
|
|
42
|
+
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:d396038765af1ceaa77f4ba39130
|
|
51
43
|
with:
|
|
52
44
|
dry-run: true
|
|
53
45
|
env:
|
package/Dockerfile
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codfish/actions-playground",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "My own testing ground for messing around with GitHub Actions.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"@commitlint/cli": "^8.2.0",
|
|
36
36
|
"@commitlint/config-conventional": "^8.2.0",
|
|
37
37
|
"cod-scripts": "^12.0.0",
|
|
38
|
-
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
39
38
|
"jsdoc": "^3.6.3",
|
|
40
39
|
"markdownlint-cli": "^0.18.0"
|
|
41
40
|
},
|
package/provisioning/Chart.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
appVersion:
|
|
1
|
+
appVersion: 1.0.0
|
|
2
2
|
name: actions-playground
|
|
3
|
-
version:
|
|
3
|
+
version: 1.0.0
|