hostinger-api-sdk 0.0.1 → 0.0.3

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,4 +1,4 @@
1
- name: publish-release
1
+ name: build-release
2
2
 
3
3
  on:
4
4
  push:
@@ -6,8 +6,28 @@ on:
6
6
  - main
7
7
 
8
8
  jobs:
9
- npmjs:
9
+ release:
10
10
  runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Repo checkout
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Bump version and push tag
16
+ id: bump
17
+ uses: hennejg/github-tag-action@v4.3.1
18
+ with:
19
+ github_token: ${{ secrets.GITHUB_TOKEN }}
20
+ release_branches: main
21
+
22
+ - name: Release tag
23
+ uses: ncipollo/release-action@v1
24
+ with:
25
+ tag: ${{ steps.bump.outputs.new_tag }}
26
+ generateReleaseNotes: true
27
+
28
+ publish-npmjs:
29
+ runs-on: ubuntu-latest
30
+ needs: [release]
11
31
  permissions:
12
32
  contents: read
13
33
  id-token: write
@@ -27,8 +47,9 @@ jobs:
27
47
  env:
28
48
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
49
 
30
- github:
50
+ publish-github:
31
51
  runs-on: ubuntu-latest
52
+ needs: [release]
32
53
  permissions:
33
54
  contents: read
34
55
  id-token: write