From cf61c0ef37312e33efe3ca61ba1f13a4cb5ca901 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 12 Mar 2024 09:31:23 -0500 Subject: [PATCH] Restore usage of npm token (#395) * restore usage of npm token * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/publish-release.yml | 2 ++ package.json | 46 +++++++++++++-------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5295e77..c188106 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -38,6 +38,8 @@ jobs: - name: Finalize Release id: finalize-release + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2 with: token: ${{ steps.app-token.outputs.token }} diff --git a/package.json b/package.json index b67ef05..f3d29c0 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,25 @@ { - "name": "nbformat-schema", - "version": "5.10.1", - "description": "JSON schemata for Jupyter notebook formats", - "main": "index.js", - "files": [ - "nbformat/v3/nbformat.v3.schema.json", - "nbformat/v4/nbformat.v4.schema.json" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/jupyter/nbformat.git" - }, - "keywords": [ - "jupyter", - "notebook", - "json-schema" - ], - "author": "Project Jupyter Contributors", - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/jupyter/nbformat/issues" - }, - "homepage": "https://nbformat.readthedocs.io" + "name": "nbformat-schema", + "version": "5.10.1", + "description": "JSON schemata for Jupyter notebook formats", + "main": "index.js", + "files": [ + "nbformat/v3/nbformat.v3.schema.json", + "nbformat/v4/nbformat.v4.schema.json" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/jupyter/nbformat.git" + }, + "keywords": [ + "jupyter", + "notebook", + "json-schema" + ], + "author": "Project Jupyter Contributors", + "license": "BSD-3-Clause", + "bugs": { + "url": "https://github.com/jupyter/nbformat/issues" + }, + "homepage": "https://nbformat.readthedocs.io" }