Skip to content

Setup Node with GitHub Package Registry Keeps Denying Access #230

Closed
@gfyoung

Description

@gfyoung
name: Node.js Package

# For facilitating testing.
on:
  push:
    branches:
      - '*'

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '14.x'
          registry-url: 'https://npm.pkg.github.com'
      - run: npm install -g npm@next-7 && npm install
      - run: npm publish
        name: GitHub Publish
        env:
          NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

However, GH Actions keeps blocking: logs.txt

These instructions largely follow what you guys give in the README as well as https://docs.github.com/en/actions/guides/publishing-nodejs-packages

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions