@hedia/recommendation-screen 2.1.24 → 2.1.25
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.
- package/.github/pull_request_template.md +6 -0
- package/.github/workflows/on-post-merge-publish-package.yaml +1 -2
- package/.github/workflows/validate-pr-title.yaml +1 -1
- package/.github/workflows/{on-open-pr-publish-alpha.yaml → version-bump-publish-alpha.yaml} +8 -18
- package/package.json +1 -1
- package/.github/workflows/on-push-commit-bump-and-publish-alpha.yaml +0 -55
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Version Bump & Publish Alpha
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
5
|
branches:
|
|
6
6
|
- master
|
|
7
|
-
types: [opened]
|
|
7
|
+
types: [opened, reopened, synchronize]
|
|
8
8
|
|
|
9
9
|
env:
|
|
10
10
|
NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
one_of: major,minor,patch
|
|
21
21
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
version-bump-publish-alpha:
|
|
24
24
|
needs: [validate-pr-labels]
|
|
25
25
|
runs-on: ubuntu-latest
|
|
26
26
|
|
|
@@ -34,26 +34,16 @@ jobs:
|
|
|
34
34
|
ref: ${{ github.event.pull_request.head.ref }}
|
|
35
35
|
token: ${{ secrets.HEDIA_BOT_GITHUB_PAT }}
|
|
36
36
|
|
|
37
|
-
-
|
|
38
|
-
uses: actions/setup-node@v2
|
|
37
|
+
- uses: mstachniuk/ci-skip@v1
|
|
39
38
|
with:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- name: Set identity
|
|
43
|
-
run: |
|
|
44
|
-
git config --global user.email "ci@hedia.co"
|
|
45
|
-
git config --global user.name "Hedia CI Bot"
|
|
39
|
+
commit-filter: "autobump"
|
|
46
40
|
|
|
47
41
|
- name: Autobump & Publish
|
|
42
|
+
if: ${{ env.CI_SKIP == 'false' }}
|
|
48
43
|
uses: hedia-team/autobump-and-publish@master
|
|
49
44
|
with:
|
|
45
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
50
46
|
label: ${{ toJson(github.event.pull_request.labels.*.name) }}
|
|
51
47
|
npm-token: ${{ env.NPM_TOKEN }}
|
|
52
48
|
issue-number: ${{ github.event.number }}
|
|
53
|
-
|
|
54
|
-
run-ci: true
|
|
55
|
-
run-lint: true
|
|
56
|
-
run-lint-pkg: true
|
|
57
|
-
run-prettier: true
|
|
58
|
-
run-test-coverage: true
|
|
59
|
-
run-tsc: true
|
|
49
|
+
run-script: npm ci && npm run lint-pkg && npm run lint && npm run prettier && npm run test-coverage && npm run tsc
|
package/package.json
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
name: On push - Bump & publish alpha version
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
types: [synchronize]
|
|
8
|
-
|
|
9
|
-
env:
|
|
10
|
-
NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
on-push-commit-bump-and-publish-alpha:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
|
|
16
|
-
strategy:
|
|
17
|
-
matrix:
|
|
18
|
-
node-version: [14.15]
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v2
|
|
22
|
-
with:
|
|
23
|
-
ref: ${{ github.event.pull_request.head.ref }}
|
|
24
|
-
token: ${{ secrets.HEDIA_BOT_GITHUB_PAT }}
|
|
25
|
-
|
|
26
|
-
- uses: mstachniuk/ci-skip@v1
|
|
27
|
-
with:
|
|
28
|
-
commit-filter: "autobump"
|
|
29
|
-
|
|
30
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
31
|
-
if: ${{ env.CI_SKIP == 'false' }}
|
|
32
|
-
uses: actions/setup-node@v2
|
|
33
|
-
with:
|
|
34
|
-
node-version: ${{ matrix.node-version }}
|
|
35
|
-
|
|
36
|
-
- name: Set identity
|
|
37
|
-
if: ${{ env.CI_SKIP == 'false' }}
|
|
38
|
-
run: |
|
|
39
|
-
git config --global user.email "ci@hedia.co"
|
|
40
|
-
git config --global user.name "Hedia CI Bot"
|
|
41
|
-
|
|
42
|
-
- name: Autobump & Publish
|
|
43
|
-
if: ${{ env.CI_SKIP == 'false' }}
|
|
44
|
-
uses: hedia-team/autobump-and-publish@master
|
|
45
|
-
with:
|
|
46
|
-
label: ${{ toJson(github.event.pull_request.labels.*.name) }}
|
|
47
|
-
npm-token: ${{ env.NPM_TOKEN }}
|
|
48
|
-
issue-number: ${{ github.event.number }}
|
|
49
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
50
|
-
run-ci: true
|
|
51
|
-
run-lint: true
|
|
52
|
-
run-lint-pkg: true
|
|
53
|
-
run-prettier: true
|
|
54
|
-
run-test-coverage: true
|
|
55
|
-
run-tsc: true
|