diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de399b73..9de65356 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,13 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 + with: + node-version: 14 + registry-url: https://npm.pkg.github.com + scope: "@mll-lab" - run: yarn install - run: yarn run build - run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 78315eae..4962e5cf 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,9 @@ "type": "git", "url": "git+https://github.com/mll-lab/react-components.git" }, + "publishConfig": { + "registry": "https://npm.pkg.github.com" + }, "keywords": [ "react", "components"