Skip to content

Commit

Permalink
change package npm destination
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Oct 25, 2023
1 parent 5edac5c commit e80ef95
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-latest-linker",
"version": "1.7.0",
"name": "@node-core/latest-linker",
"version": "1.0.0",
"description": "An application to create latest-X symlinks at https://nodejs.org/download/release/ after each new release",
"main": "latest-linker.js",
"scripts": {
Expand Down

0 comments on commit e80ef95

Please sign in to comment.