@codfish/actions-playground 0.0.0-PR-39--0537e18 → 0.0.0-PR-42--9066479
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 +37 -8
- package/.github/workflows/validate.yml +1 -1
- package/.nvmrc +1 -0
- package/Dockerfile +3 -1
- package/package.json +4 -2
- package/test.txt +1 -1
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
- uses: actions/setup-node@v1
|
|
24
24
|
with:
|
|
25
|
-
node-version:
|
|
25
|
+
node-version: 18.x
|
|
26
26
|
|
|
27
27
|
- name: docker login
|
|
28
28
|
run: |
|
|
@@ -65,13 +65,43 @@ jobs:
|
|
|
65
65
|
id: semantic
|
|
66
66
|
with:
|
|
67
67
|
branches: |
|
|
68
|
+
['main', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}]
|
|
69
|
+
additional_packages: |
|
|
70
|
+
['@google/semantic-release-replace-plugin', '@semantic-release/git']
|
|
71
|
+
plugins: |
|
|
68
72
|
[
|
|
69
|
-
'
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
'@semantic-release/commit-analyzer',
|
|
74
|
+
[
|
|
75
|
+
'@google/semantic-release-replace-plugin',
|
|
76
|
+
{
|
|
77
|
+
'replacements': [
|
|
78
|
+
{
|
|
79
|
+
'files': ['Dockerfile'],
|
|
80
|
+
'from': 'RELEASE_VERSION=.*',
|
|
81
|
+
'to': 'RELEASE_VERSION=${nextRelease.version}',
|
|
82
|
+
'results': [
|
|
83
|
+
{
|
|
84
|
+
'file': 'Dockerfile',
|
|
85
|
+
'hasChanged': true,
|
|
86
|
+
'numMatches': 1,
|
|
87
|
+
'numReplacements': 1
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
'countMatches': true
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
'@semantic-release/git',
|
|
97
|
+
{
|
|
98
|
+
'assets': ['Dockerfile'],
|
|
99
|
+
'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
'@semantic-release/release-notes-generator',
|
|
103
|
+
'@semantic-release/npm',
|
|
104
|
+
'@semantic-release/github'
|
|
75
105
|
]
|
|
76
106
|
env:
|
|
77
107
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -103,7 +133,6 @@ jobs:
|
|
|
103
133
|
rm ./docs/.gitignore
|
|
104
134
|
env:
|
|
105
135
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
106
|
-
|
|
107
136
|
# does not work...
|
|
108
137
|
# Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌
|
|
109
138
|
# Deployment failed! ❌
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18.7.0
|
package/Dockerfile
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codfish/actions-playground",
|
|
3
|
-
"version": "0.0.0-PR-
|
|
3
|
+
"version": "0.0.0-PR-42--9066479",
|
|
4
4
|
"description": "My own testing ground for messing around with GitHub Actions.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
"type": "git",
|
|
24
24
|
"url": "git+https://github.com/codfish/actions-playground.git"
|
|
25
25
|
},
|
|
26
|
-
"keywords": [
|
|
26
|
+
"keywords": [
|
|
27
|
+
"foobar"
|
|
28
|
+
],
|
|
27
29
|
"author": "",
|
|
28
30
|
"license": "MIT",
|
|
29
31
|
"bugs": {
|
package/test.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
foobar
|