Skip to content

Commit

Permalink
Update npm-publish.yml (#7)
Browse files Browse the repository at this point in the history
* Update npm-publish.yml

Fix publishing to GitHub Packages Registry.
(see actions/setup-node#73)

* Update package.json

* Update package-lock.json
  • Loading branch information
jbelien authored May 24, 2020
1 parent 009951e commit c9384a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
registry-url: https://npm.pkg.github.com/jbelien/
scope: '@jbelien'
- run: npm ci
- run: npm publish
- run: |
npm config set scope "@jbelien"
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{github.token}}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "openstreetmap-calendar-widget",
"name": "@jbelien/openstreetmap-calendar-widget",
"description": "Widget to embed OpenStreetMap Calendar (https://osmcal.org/) events in your application/website.",
"version": "0.1.0",
"scripts": {
Expand Down

0 comments on commit c9384a5

Please sign in to comment.