@codfish/actions-playground 0.0.0-PR-28--d852def → 0.0.0-PR-38--80709de

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,7 +3,12 @@ name: Release
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - master
6
+ - main
7
+ - alpha
8
+ - beta
9
+ - next
10
+ - 'next-major'
11
+ - '+([0-9])?(.{+([0-9]),x}).x'
7
12
 
8
13
  jobs:
9
14
  release:
@@ -36,6 +41,15 @@ jobs:
36
41
  id: semantic-dry-run
37
42
  with:
38
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
+ ]
39
53
  env:
40
54
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
55
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -49,6 +63,16 @@ jobs:
49
63
  - name: semantic release
50
64
  uses: docker://ghcr.io/codfish/semantic-release-action:v1
51
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
+ ]
52
76
  env:
53
77
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
78
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -80,8 +104,13 @@ jobs:
80
104
  env:
81
105
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
82
106
 
83
- - name: deploy documentation
84
- uses: jamesives/github-pages-deploy-action@4.1.0
85
- with:
86
- branch: gh-pages
87
- 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
@@ -63,5 +63,5 @@ jobs:
63
63
  issue_number: context.issue.number,
64
64
  owner: context.repo.owner,
65
65
  repo: context.repo.repo,
66
- body: '🚀 PR version published: `${{ steps.pr-publish.outputs.pr_version }}`'
66
+ body: '🚀 PR version published: `${{ steps.pr-publish.outputs.pr_version }}`'
67
67
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "0.0.0-PR-28--d852def",
3
+ "version": "0.0.0-PR-38--80709de",
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/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Test function.
2
+ * Test function
3
3
  *
4
4
  * @param {boolean} maybe - Yea?
5
5
  * @returns {string}
6
6
  */
7
7
  export function testing(yea) {
8
- return yea ? 'Yea' : 'No';
8
+ return yea ? 'Yesss' : 'No';
9
9
  }
10
10
 
11
11
  export default { testing };
package/test.txt CHANGED
@@ -1 +1 @@
1
- foo
1
+ foobar