@hedia/types 2.1.31-alpha.5 → 2.1.31-alpha.7
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.
|
@@ -24,20 +24,20 @@ jobs:
|
|
|
24
24
|
- uses: actions/checkout@v2
|
|
25
25
|
|
|
26
26
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@v2
|
|
28
28
|
with:
|
|
29
29
|
node-version: ${{ matrix.node-version }}
|
|
30
30
|
|
|
31
31
|
- name: Register ssh keys
|
|
32
|
-
uses: webfactory/ssh-agent@v0.
|
|
32
|
+
uses: webfactory/ssh-agent@v0.5.3
|
|
33
33
|
with:
|
|
34
34
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
35
35
|
|
|
36
|
-
- name: Register NPM access token
|
|
36
|
+
- name: Register NPM access token
|
|
37
37
|
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
|
38
38
|
|
|
39
39
|
- name: Removing alpha tag from package json
|
|
40
|
-
run: chmod +x ./pre-release.sh && ./pre-release.sh
|
|
40
|
+
run: chmod +x ./pre-release.sh && ./pre-release.sh
|
|
41
41
|
|
|
42
42
|
- name: Installing dependencies
|
|
43
43
|
run: npm ci
|
|
@@ -14,27 +14,41 @@ jobs:
|
|
|
14
14
|
- uses: actions/checkout@v2
|
|
15
15
|
- uses: actions/setup-node@v2
|
|
16
16
|
with:
|
|
17
|
-
node-version:
|
|
17
|
+
node-version: ${{ matrix.node-version }}
|
|
18
|
+
|
|
19
|
+
- name: Register ssh keys
|
|
20
|
+
uses: webfactory/ssh-agent@v0.5.3
|
|
21
|
+
with:
|
|
22
|
+
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
23
|
+
|
|
24
|
+
- name: Register NPM access token
|
|
25
|
+
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
|
26
|
+
|
|
27
|
+
- name: Installing dependencies
|
|
28
|
+
run: npm ci
|
|
29
|
+
|
|
18
30
|
- id: publish-alpha
|
|
19
31
|
uses: JS-DevTools/npm-publish@v1
|
|
20
32
|
with:
|
|
21
33
|
token: ${{ env.NPM_TOKEN }}
|
|
22
34
|
tag: alpha
|
|
35
|
+
|
|
23
36
|
- if: steps.publish-alpha.outputs.type == 'none'
|
|
24
37
|
run: |
|
|
25
38
|
echo "Package JSON version is already published, please bump the version!"
|
|
26
39
|
exit 1
|
|
27
|
-
|
|
40
|
+
|
|
28
41
|
- if: steps.publish-alpha.outputs.type != 'none'
|
|
29
42
|
uses: izhangzhihao/delete-comment@master
|
|
30
43
|
with:
|
|
31
44
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
45
|
delete_user_name: github-actions[bot]
|
|
33
46
|
issue_number: ${{ github.event.number }} # remove comments from the current PR
|
|
47
|
+
|
|
34
48
|
- if: steps.publish-alpha.outputs.type != 'none'
|
|
35
49
|
uses: peter-evans/create-or-update-comment@v1
|
|
36
50
|
with:
|
|
37
51
|
issue-number: ${{ github.event.pull_request.number }}
|
|
38
52
|
body: |
|
|
39
53
|
🎉Successfully released alpha version🎉
|
|
40
|
-
✅${{ steps.publish-alpha.outputs.version }}
|
|
54
|
+
✅${{ steps.publish-alpha.outputs.version }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hedia/types",
|
|
3
|
-
"version": "2.1.31-alpha.
|
|
3
|
+
"version": "2.1.31-alpha.7",
|
|
4
4
|
"description": "Enums, interfaces, and other common types for use in Hedia's software.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"tsc": "tsc --build",
|
|
12
12
|
"clean": "tsc --build --clean",
|
|
13
13
|
"prepublish": "npm ci --ignore-scripts && npm run tsc",
|
|
14
|
-
"postpublish": "npm run clean"
|
|
14
|
+
"postpublish": "npm run clean",
|
|
15
|
+
"bump-alpha": "chmod +x ./alpha-release.sh && ./alpha-release.sh"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [],
|
|
17
18
|
"author": "Hedia",
|