We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5741a86 commit c427d03Copy full SHA for c427d03
.github/workflows/stage-1-commit.yaml
@@ -273,8 +273,6 @@ jobs:
273
permissions:
274
contents: read
275
packages: read
276
- env:
277
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
278
steps:
279
- name: Checkout code
280
uses: actions/[email protected]
@@ -286,7 +284,10 @@ jobs:
286
284
287
285
- name: check if local version differs from latest published version
288
id: check-version
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
289
run: |
290
+ cat .npmrc
291
npm view @nhsdigital/nhs-notify-event-schemas-supplier-api --json
292
published_version=$(npm view @nhsdigital/nhs-notify-event-schemas-supplier-api --json 2>/dev/null | jq -r '.["dist-tags"].latest // "null"')
293
echo "Published version: $published_version"
0 commit comments