From c92125c1de9fb70c97a749423b6c4a1caef8debb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 20 Aug 2024 13:06:03 +0200 Subject: [PATCH] ci: cleanup (#3) --- .github/workflows/release.yml | 8 +++++--- packages/mercure/README.md | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32ee39f..d75ccbe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/packages/mercure/README.md b/packages/mercure/README.md index def1b6a..a1e67e7 100644 --- a/packages/mercure/README.md +++ b/packages/mercure/README.md @@ -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"; @@ -24,7 +24,7 @@ Link: ; rel="self" Link: ; 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