@codfish/actions-playground 0.0.0-PR-58--bcde1cb → 0.0.0-PR-59--bae66db
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.
|
@@ -66,11 +66,9 @@ jobs:
|
|
|
66
66
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
67
67
|
|
|
68
68
|
- name: semantic-release
|
|
69
|
-
uses: codfish/semantic-release-action@
|
|
69
|
+
uses: codfish/semantic-release-action@upgrade
|
|
70
70
|
id: semantic
|
|
71
71
|
with:
|
|
72
|
-
branches: |
|
|
73
|
-
['main', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}]
|
|
74
72
|
additional_packages: |
|
|
75
73
|
['@google/semantic-release-replace-plugin', '@semantic-release/git']
|
|
76
74
|
plugins: |
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: Validate pr title
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [edited, opened, reopened]
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
validate-pr-title:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
concurrency:
|
|
12
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
13
|
-
cancel-in-progress: true
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/setup-node@v3
|
|
17
|
-
with:
|
|
18
|
-
node-version: 20
|
|
19
|
-
|
|
20
|
-
- name: install commitlint deps
|
|
21
|
-
run: npm install @commitlint/{cli,config-conventional}
|
|
22
|
-
|
|
23
|
-
# todo: loosen restrictions set in @commitlint/config-conventional to allow for more flexibility
|
|
24
|
-
- name: create commitlint config without yaml errors
|
|
25
|
-
run: |
|
|
26
|
-
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
|
|
27
|
-
|
|
28
|
-
- name: Validate PR title
|
|
29
|
-
run: |
|
|
30
|
-
echo "${{ github.event.pull_request.title }}" | npx -y --no commitlint
|