@codfish/actions-playground 0.0.0-PR-61--23c1129 → 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.
@@ -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,35 +28,6 @@ jobs:
27
28
  with:
28
29
  node-version: 18.x
29
30
 
30
- - name: semantic release dry run
31
- uses: docker://ghcr.io/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: Dump semantic dry run outputs
40
- if: steps.semantic-dry-run.outputs.new-release-published == 'true'
41
- run: |
42
- echo "Outputs:\n"
43
- echo "$SEMANTIC_OUTPUTS"
44
- echo "\n-----\n\nEnvironment Variables:\n"
45
- echo "NEW_RELEASE_PUBLISHED: $NEW_RELEASE_PUBLISHED"
46
- echo "RELEASE_VERSION: $RELEASE_VERSION"
47
- echo "RELEASE_MAJOR: $RELEASE_MAJOR"
48
- echo "RELEASE_MINOR: $RELEASE_MINOR"
49
- echo "RELEASE_PATCH: $RELEASE_PATCH"
50
- echo "RELEASE_NOTES: $RELEASE_NOTES"
51
- echo "RELEASE_TYPE: $RELEASE_TYPE"
52
- echo "RELEASE_CHANNEL: $RELEASE_CHANNEL"
53
- echo "RELEASE_GIT_HEAD: $RELEASE_GIT_HEAD"
54
- echo "RELEASE_GIT_TAG: $RELEASE_GIT_TAG"
55
- echo "RELEASE_NAME: $RELEASE_NAME"
56
- env:
57
- SEMANTIC_OUTPUTS: ${{ toJson(steps.semantic-dry-run.outputs) }}
58
-
59
31
  - shell: bash
60
32
  run: |
61
33
  echo "DOCKER_TAGS=main-${GITHUB_SHA},main,latest" >> $GITHUB_ENV;
@@ -78,11 +50,12 @@ jobs:
78
50
  run: docker build -t codfish/actions-playground:latest .
79
51
 
80
52
  - name: semantic-release
81
- uses: docker://ghcr.io/codfish/semantic-release-action:fix-docker-image
53
+ # uses: docker://ghcr.io/codfish/semantic-release-action@sha256:d396038765af1ceaa77f4ba39130af6e7a7e264bf17cb675ea1b0524d11adf3e
54
+ uses: codfish/semantic-release-action@config-file
82
55
  id: semantic
83
56
  with:
84
57
  additional-packages: |
85
- ['@google/semantic-release-replace-plugin', '@semantic-release/git']
58
+ ['@google/semantic-release-replace-plugin', '@semantic-release/git', 'conventional-changelog-conventionalcommits@7']
86
59
  plugins: |
87
60
  [
88
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@fix-docker-image
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
@@ -10,7 +10,7 @@ RUN npm ci
10
10
  COPY ./src ./src
11
11
  COPY ./public ./public
12
12
 
13
- ENV RELEASE_VERSION=5.2.0
13
+ ENV RELEASE_VERSION=1.0.0
14
14
 
15
15
  RUN npm run build
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "0.0.0-PR-61--23c1129",
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
  },
@@ -1,3 +1,3 @@
1
- appVersion: 5.2.0
1
+ appVersion: 1.0.0
2
2
  name: actions-playground
3
- version: 5.2.0
3
+ version: 1.0.0
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ branches: ['develop'],
3
+ tagFormat: 'version${version}',
4
+ }
package/test.txt CHANGED
@@ -1,7 +1,5 @@
1
1
  testing dry run outputs
2
2
 
3
- release notes test
3
+ test release with a chore
4
4
 
5
- release notes refactor test
6
-
7
- test pr changes
5
+ test latest release