Skip to content

Commit

Permalink
ci: cleanup (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored Aug 20, 2024
1 parent e2f9dc8 commit c92125c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 'current'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm ci
- run: lerna run tsc
- run: lerna publish --no-private
env:
Expand Down
4 changes: 2 additions & 2 deletions packages/mercure/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @api-platform/mercure

`@api-platform/mercure` is an EventSource wrapper that [discovers a Mercure Hub](https://mercure.rocks/spec#discovery) according to the Link headers and handles subscription for you.
`@api-platform/mercure` is an EventSource wrapper that [discovers a Mercure Hub](https://mercure.rocks/spec#discovery) according to the Link headers and handles subscriptions for you.

```javascript
import mercure, { close } from "@api-platform/mercure";
Expand All @@ -24,7 +24,7 @@ Link: <https://localhost/authors/1>; rel="self"
Link: <https://localhost/.well-known/mercure>; rel="mercure"
```

A new `EventSource` is created subscribing to the topic `https://localhost/authors/1` on the Hub `https://localhost/.well-known/mercure`.
A new `EventSource` is created by subscribing to the topic `https://localhost/authors/1` on the Hub `https://localhost/.well-known/mercure`.

## Installation

Expand Down

0 comments on commit c92125c

Please sign in to comment.