From 1687a7b57d58026db8264b02eb3b8ded932a7006 Mon Sep 17 00:00:00 2001 From: Swain Molster Date: Wed, 20 Oct 2021 14:07:02 -0400 Subject: [PATCH] fix: make package public --- .github/workflows/release.yaml | 6 ------ package.json | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f2b16ce..9f18fa9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,12 +19,6 @@ jobs: yarn lint yarn test yarn build - - name: '[TEMPORARY] Modify Package Access' - env: - NPM_TOKEN: ${{ secrets.LIFEOMIC_NPM_TOKEN }} - run: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc - npm access grant read-only lifeomic:readonly-developers '@lifeomic/eslint-plugin-i18next' --unsafe-perm --user 0 - name: Publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 790a75d..59d778b 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "repository": "git@github.com:lifeomic/eslint-plugin-i18next.git", "author": "LifeOmic ", "license": "UNLICENSED", + "publishConfig": { + "access": "public" + }, "scripts": { "lint": "eslint . && prettier --check .", "test": "jest",