@codfish/actions-playground 5.8.0 → 6.1.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,7 +4,6 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
- - develop
8
7
  - alpha
9
8
  - beta
10
9
  - next
@@ -17,7 +16,7 @@ jobs:
17
16
 
18
17
  concurrency:
19
18
  group: ${{ github.workflow }}-${{ github.ref }}
20
- cancel-in-progress: true
19
+ cancel-in-progress: false
21
20
 
22
21
  steps:
23
22
  - uses: actions/checkout@v3
@@ -49,9 +48,18 @@ jobs:
49
48
  - name: docker build
50
49
  run: docker build -t codfish/actions-playground:latest .
51
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
+
59
+ - run: cat Dockerfile
60
+
52
61
  - name: semantic-release
53
- # uses: docker://ghcr.io/codfish/semantic-release-action@sha256:d396038765af1ceaa77f4ba39130af6e7a7e264bf17cb675ea1b0524d11adf3e
54
- uses: codfish/semantic-release-action@config-file
62
+ uses: docker://ghcr.io/codfish/semantic-release-action@sha256:e97235f7e14add2994d6738df6a31a874c184e77da325688c37570dd8382e989
55
63
  id: semantic
56
64
  with:
57
65
  additional-packages: |
@@ -66,30 +74,12 @@ jobs:
66
74
  {
67
75
  'files': ['Dockerfile'],
68
76
  'from': 'RELEASE_VERSION=.*',
69
- 'to': 'RELEASE_VERSION=${nextRelease.version}',
70
- 'results': [
71
- {
72
- 'file': 'Dockerfile',
73
- 'hasChanged': true,
74
- 'numMatches': 1,
75
- 'numReplacements': 1
76
- }
77
- ],
78
- 'countMatches': true
77
+ 'to': 'RELEASE_VERSION=${nextRelease.version}'
79
78
  },
80
79
  {
81
80
  'files': ['provisioning/Chart.yml'],
82
81
  'from': 'ersion: .*',
83
- 'to': 'ersion: ${nextRelease.version}',
84
- 'results': [
85
- {
86
- 'file': 'provisioning/Chart.yml',
87
- 'hasChanged': true,
88
- 'numMatches': 2,
89
- 'numReplacements': 2
90
- }
91
- ],
92
- 'countMatches': true
82
+ 'to': 'ersion: ${nextRelease.version}'
93
83
  }
94
84
  ]
95
85
  }
@@ -39,7 +39,7 @@ jobs:
39
39
  hashFiles('**/package-lock.json') }}
40
40
 
41
41
  - name: semantic release dry run
42
- uses: docker://ghcr.io/codfish/semantic-release-action@sha256:d396038765af1ceaa77f4ba39130
42
+ uses: docker://ghcr.io/codfish/semantic-release-action@sha256:9e0bbcc4ca3b3611668dcf911e51432573efb3222587c4ca1cc8a759c1b8283c
43
43
  with:
44
44
  dry-run: true
45
45
  env:
@@ -50,6 +50,11 @@ jobs:
50
50
  if: steps.npm-cache.outputs.cache-hit != 'true'
51
51
  run: npm ci --prefer-offline --no-audit
52
52
 
53
+ - name: Retrieve text file
54
+ uses: actions/download-artifact@v4
55
+ with:
56
+ github-token: ${{ secrets.GITHUB_TOKEN }}
57
+
53
58
  - run:
54
59
  npm run lint:commit -- --from="origin/${{ github.base_ref }}"
55
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.8.0
13
+ ENV RELEASE_VERSION=6.1.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": "5.8.0",
3
+ "version": "6.1.0",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -1,3 +1,3 @@
1
- appVersion: 5.8.0
1
+ appVersion: 6.1.0
2
2
  name: actions-playground
3
- version: 5.8.0
3
+ version: 6.1.0
package/test.txt CHANGED
@@ -3,3 +3,7 @@ testing dry run outputs
3
3
  test release with a chore
4
4
 
5
5
  test latest release
6
+
7
+ feature release 2
8
+
9
+ breaking update
package/release.config.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- branches: ['develop'],
3
- tagformat: 'version${version}',
4
- }