Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update npm version in CI to publish packages in workflows #129

Closed
boeckMt opened this issue May 16, 2022 · 2 comments
Closed

Update npm version in CI to publish packages in workflows #129

boeckMt opened this issue May 16, 2022 · 2 comments
Labels
bug fix: (Something isn't working)

Comments

@boeckMt
Copy link
Member

boeckMt commented May 16, 2022

Describe the bug

The Issue ...You need to authorize this machine using 'npm adduser' which was caused in the github workflow on npm publish should be resolved now.
Try to update the temporary fix from #90 (comment) with a current npm version > v8.5.1.

@boeckMt boeckMt added the bug fix: (Something isn't working) label May 16, 2022
@boeckMt boeckMt changed the title Update npm version to publish packages in workflows Update npm version in CI to publish packages in workflows Sep 23, 2022
@boeckMt
Copy link
Member Author

boeckMt commented Oct 13, 2022

See issue npm/cli#3573

now using node 16 and npm >8.19

...
 - uses: actions/setup-node@v3
        with:
          node-version: 16
          registry-url: https://npm.pkg.github.com/
          scope: "@dlr-eoc"
      - run: npm ci
      - run: npm i -g npm@8.19.2
      - run: |
          ...
              npm publish "$dir" --access public
          ...

@boeckMt boeckMt closed this as completed Oct 13, 2022
@boeckMt
Copy link
Member Author

boeckMt commented Oct 13, 2022

@boeckMt boeckMt mentioned this issue Oct 13, 2022
14 tasks
boeckMt added a commit that referenced this issue Oct 13, 2022
* ci: fix - replace old action and build only libraries

* tag: fix ci to prerelease #145

* ci: update vendor actions

* ci: update npm in ci for npm publish #129

* tag: update ci test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix: (Something isn't working)
Projects
None yet
Development

No branches or pull requests

1 participant