@codfish/actions-playground 3.1.0 → 3.5.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.
@@ -3,9 +3,12 @@ name: Release
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - next
7
- - master
6
+ - main
8
7
  - alpha
8
+ - beta
9
+ - next
10
+ - 'next-major'
11
+ - '+([0-9])?(.{+([0-9]),x}).x'
9
12
 
10
13
  jobs:
11
14
  release:
@@ -38,6 +41,15 @@ jobs:
38
41
  id: semantic-dry-run
39
42
  with:
40
43
  dry_run: true
44
+ branches: |
45
+ [
46
+ '+([0-9])?(.{+([0-9]),x}).x',
47
+ 'main',
48
+ 'next',
49
+ 'next-major',
50
+ {name: 'beta', prerelease: true},
51
+ {name: 'alpha', prerelease: true}
52
+ ]
41
53
  env:
42
54
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
55
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -51,6 +63,16 @@ jobs:
51
63
  - name: semantic release
52
64
  uses: docker://ghcr.io/codfish/semantic-release-action:v1
53
65
  id: semantic
66
+ with:
67
+ branches: |
68
+ [
69
+ '+([0-9])?(.{+([0-9]),x}).x',
70
+ 'main',
71
+ 'next',
72
+ 'next-major',
73
+ {name: 'beta', prerelease: true},
74
+ {name: 'alpha', prerelease: true}
75
+ ]
54
76
  env:
55
77
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
78
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -82,8 +104,13 @@ jobs:
82
104
  env:
83
105
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
84
106
 
85
- - name: deploy documentation
86
- uses: jamesives/github-pages-deploy-action@4.1.0
87
- with:
88
- branch: gh-pages
89
- folder: docs
107
+ # does not work...
108
+ # Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌
109
+ # Deployment failed! ❌
110
+ # ::set-output name=deployment-status::failed
111
+ #
112
+ # - name: deploy documentation
113
+ # uses: jamesives/github-pages-deploy-action@4.1.0
114
+ # with:
115
+ # branch: gh-pages
116
+ # folder: docs
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "3.1.0",
3
+ "version": "3.5.0",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "main": "dist/index.js",
6
6
  "private": false,
7
7
  "publishConfig": {
8
- "access": "public",
9
- "tag": "next"
8
+ "access": "public"
10
9
  },
11
10
  "scripts": {
12
11
  "build": "cod-scripts build",
package/src/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @returns {string}
6
6
  */
7
7
  export function testing(yea) {
8
- return yea ? 'Yes' : 'No';
8
+ return yea ? 'Yesss' : 'No';
9
9
  }
10
10
 
11
11
  export default { testing };
package/test.txt CHANGED
@@ -1 +1 @@
1
- foobar
1
+ foobaz