@codfish/actions-playground 0.0.0-PR-61--23c1129 → 0.0.0-PR-65--1f6da01

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.
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  concurrency:
18
18
  group: ${{ github.workflow }}-${{ github.ref }}
19
- cancel-in-progress: true
19
+ cancel-in-progress: false
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v3
@@ -27,35 +27,6 @@ jobs:
27
27
  with:
28
28
  node-version: 18.x
29
29
 
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
30
  - shell: bash
60
31
  run: |
61
32
  echo "DOCKER_TAGS=main-${GITHUB_SHA},main,latest" >> $GITHUB_ENV;
@@ -77,12 +48,20 @@ jobs:
77
48
  - name: docker build
78
49
  run: docker build -t codfish/actions-playground:latest .
79
50
 
51
+ - name: Upload Text file
52
+ if: github.ref == 'refs/heads/main'
53
+ uses: actions/upload-artifact@v4
54
+ with:
55
+ github-token: ${{ secrets.GITHUB_TOKEN }}
56
+ name: text-file-${{ github.ref_name }}
57
+ path: text.txt
58
+
80
59
  - name: semantic-release
81
- uses: docker://ghcr.io/codfish/semantic-release-action:fix-docker-image
60
+ uses: rdash99/semantic-release-action-smaller@main
82
61
  id: semantic
83
62
  with:
84
63
  additional-packages: |
85
- ['@google/semantic-release-replace-plugin', '@semantic-release/git']
64
+ ['@google/semantic-release-replace-plugin', '@semantic-release/git', 'conventional-changelog-conventionalcommits@7']
86
65
  plugins: |
87
66
  [
88
67
  '@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:9e0bbcc4ca3b3611668dcf911e51432573efb3222587c4ca1cc8a759c1b8283c
51
43
  with:
52
44
  dry-run: true
53
45
  env:
@@ -58,6 +50,11 @@ jobs:
58
50
  if: steps.npm-cache.outputs.cache-hit != 'true'
59
51
  run: npm ci --prefer-offline --no-audit
60
52
 
53
+ - name: Retrieve text file
54
+ uses: actions/download-artifact@v4
55
+ with:
56
+ github-token: ${{ secrets.GITHUB_TOKEN }}
57
+
61
58
  - run:
62
59
  npm run lint:commit -- --from="origin/${{ github.base_ref }}"
63
60
  --to="origin/${{github.head_ref }}"
package/CODEOWNERS CHANGED
@@ -5,4 +5,5 @@
5
5
  # the repo. Unless a later match takes precedence,
6
6
  # @global-owner1 and @global-owner2 will be requested for
7
7
  # review when someone opens a pull request.
8
+
8
9
  * @codfish
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=5.7.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": "0.0.0-PR-65--1f6da01",
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: 5.7.0
2
2
  name: actions-playground
3
- version: 5.2.0
3
+ version: 5.7.0
package/test.txt CHANGED
@@ -1,7 +1,7 @@
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
5
+ test latest release
6
6
 
7
- test pr changes
7
+ feature release 2