@signalk/app-dock 0.3.0-beta.2 → 0.3.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.
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
name: 'Release on tag'
|
|
2
|
+
|
|
2
3
|
on:
|
|
3
4
|
push:
|
|
4
5
|
tags:
|
|
5
|
-
- '*'
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: release-${{ github.ref }}
|
|
10
|
+
cancel-in-progress: false
|
|
6
11
|
|
|
7
12
|
jobs:
|
|
8
13
|
release:
|
|
9
14
|
permissions:
|
|
10
15
|
contents: write
|
|
11
|
-
if: startsWith(github.ref, 'refs/tags/')
|
|
12
16
|
runs-on: ubuntu-latest
|
|
17
|
+
timeout-minutes: 10
|
|
13
18
|
steps:
|
|
14
|
-
- name: Build Changelog
|
|
15
|
-
id: github_release
|
|
16
|
-
uses: mikepenz/release-changelog-builder-action@v1
|
|
17
|
-
env:
|
|
18
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
19
|
-
|
|
20
19
|
- name: Create Release
|
|
21
|
-
uses:
|
|
20
|
+
uses: softprops/action-gh-release@v3
|
|
22
21
|
with:
|
|
23
|
-
tag_name: ${{ github.
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
tag_name: ${{ github.ref_name }}
|
|
23
|
+
name: ${{ github.ref_name }}
|
|
24
|
+
generate_release_notes: true
|
|
25
|
+
prerelease: ${{ contains(github.ref_name, 'beta') || contains(github.ref_name, 'alpha') || contains(github.ref_name, 'rc') }}
|
|
26
26
|
env:
|
|
27
27
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
28
28
|
|
|
@@ -32,25 +32,26 @@ jobs:
|
|
|
32
32
|
id-token: write
|
|
33
33
|
contents: read
|
|
34
34
|
runs-on: ubuntu-latest
|
|
35
|
+
timeout-minutes: 10
|
|
35
36
|
steps:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
- uses: actions/checkout@v6
|
|
38
|
+
|
|
39
|
+
- uses: actions/setup-node@v6
|
|
40
|
+
with:
|
|
41
|
+
node-version: '24.x'
|
|
42
|
+
registry-url: 'https://registry.npmjs.org'
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
run: |
|
|
44
|
-
npm install
|
|
44
|
+
- run: npm ci
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
then
|
|
46
|
+
- name: Publish to npm
|
|
47
|
+
run: |
|
|
48
|
+
tag="${GITHUB_REF#refs/tags/}"
|
|
49
|
+
if [[ "$tag" == *alpha* ]]; then
|
|
50
|
+
npm publish --provenance --access public --tag alpha
|
|
51
|
+
elif [[ "$tag" == *beta* ]]; then
|
|
53
52
|
npm publish --provenance --access public --tag beta
|
|
53
|
+
elif [[ "$tag" == *rc* ]]; then
|
|
54
|
+
npm publish --provenance --access public --tag rc
|
|
54
55
|
else
|
|
55
56
|
npm publish --provenance --access public
|
|
56
|
-
|
|
57
|
+
fi
|
package/package.json
CHANGED