diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9185a09e..018f2128 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,11 +15,10 @@ jobs: with: node-version: '14.x' registry-url: 'https://registry.npmjs.org/' - - name: Install - run: npm install + - run: yarn install # Publish to npm - name: Publish - run: npm publish --access public + run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} # Setup .npmrc file to publish to GitHub Packages