Skip to content

Commit 9c8853d

Browse files
ci: add publish workflow
[skip ci]
1 parent d85f84e commit 9c8853d

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

.github/workflows/publish.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# reference: https://docs.npmjs.com/generating-provenance-statements
2+
3+
name: Publish
4+
5+
on:
6+
push:
7+
tags:
8+
- '*'
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
id-token: write
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Use Node.js 20
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
registry-url: 'https://registry.npmjs.org'
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Publish package
31+
run: npm publish --provenance --access public
32+
env:
33+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1-
# History
1+
# Changelog
22

33
| Version | Date |
44
|--------------------------|---------------|
5+
| [0.2.3](#023-2025-11-25) | November 2025 |
56
| [0.2.2](#022-2024-05-08) | May 2024 |
67
| [0.2.1](#021-2024-03-11) | March 2024 |
78
| [0.2.0](#020-2024-02-21) | February 2024 |
89
| [0.1.0](#010-2023-04-06) | April 2023 |
910

10-
# Release notes
11+
12+
## [0.2.3](https://github.com/socketio/socket.io-redis-streams-adapter/compare/0.2.2...0.2.3) (2025-11-25)
13+
14+
15+
### Bug Fixes
16+
17+
* **CSR:** include the offset in the restored packets ([#40](https://github.com/socketio/socket.io-redis-streams-adapter/issues/40)) ([c260f17](https://github.com/socketio/socket.io-redis-streams-adapter/commit/c260f1790276f7454944524117e1645506eace54))
18+
19+
1120

1221
## [0.2.2](https://github.com/socketio/socket.io-redis-streams-adapter/compare/0.2.1...0.2.2) (2024-05-08)
1322

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socket.io/redis-streams-adapter",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "The Socket.IO adapter based on Redis Streams, allowing to broadcast events between several Socket.IO servers",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)