From 2badaa756473dde71a5a2ee56ca7d79c990342db Mon Sep 17 00:00:00 2001 From: MaloLebrin Date: Wed, 21 Sep 2022 10:25:39 +0200 Subject: [PATCH] feat: add token to ci --- .github/workflows/publish.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3205a60..33decf3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,4 +30,6 @@ jobs: - name: 🚀 publish run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 5450ca8..4693d43 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fetch-api-wrapper", "type": "module", - "version": "0.0.8", + "version": "0.0.9", "private": false, "packageManager": "pnpm@7.9.0", "description": "use fetch to simplify the code for making HTTP requests taking full advantage of TypeScript's type system",