Skip to content

Commit 74fdb2b

Browse files
committed
ci(release): fix release workflow
Ref: #65 Signed-off-by: Philip Gerke <me@philipgerke.com>
1 parent e6ac30c commit 74fdb2b

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Create GitHub Release
3535
uses: softprops/action-gh-release@v2
3636
with:
37-
tag_name: v"${{ steps.extract_version.outputs.version }}"
37+
tag_name: "v${{ steps.extract_version.outputs.version }}"
3838
name: "v${{ steps.extract_version.outputs.version }}"
3939
body: |
4040
${{ steps.extract_version.outputs.changelog }}
@@ -53,13 +53,17 @@ jobs:
5353
name: Deploy Library
5454
runs-on: ubuntu-latest
5555
needs: [cache_dependencies]
56+
permissions:
57+
contents: read
58+
id-token: write
5659
steps:
5760
- name: Checkout code
5861
uses: actions/checkout@v4
5962
- name: Setup Node.js
6063
uses: actions/setup-node@v4
6164
with:
6265
node-version: lts/*
66+
registry-url: "https://registry.npmjs.org"
6367
- name: Setup pnpm
6468
uses: pnpm/action-setup@v4
6569
- name: Restore pnpm store
@@ -71,8 +75,6 @@ jobs:
7175
${{ runner.os }}-pnpm-store-
7276
- name: Restore dependencies
7377
run: pnpm install --frozen-lockfile
74-
- name: Build for production
75-
run: pnpm run build
7678
- name: Publish to npmjs.org
7779
run: |
7880
pnpm publish --access public --tag latest;

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://
77
semver.org/spec/v2.0.0.html).
88

9-
## 1.4.15 - 22.03.2025
9+
## 1.4.16 - 22.03.2025
1010

1111
### Added
1212

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h3>Global</h3>
161161
<h1>Home</h1>
162162
</header>
163163

164-
<h3>freeathome-local-api-client 1.4.15</h3>
164+
<h3>freeathome-local-api-client 1.4.16</h3>
165165

166166
<section>
167167
<article>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "freeathome-local-api-client",
3-
"version": "1.4.15",
3+
"version": "1.4.16",
44
"preview": false,
55
"description": "A client library for the BUSCH-JAEGER free@home local API implemented in TypeScript",
66
"repository": {

0 commit comments

Comments
 (0)