Skip to content

Commit

Permalink
Update package name in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
itsfuad committed Apr 5, 2024
1 parent 46648ee commit 46efe8e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: NPM Publish
on:
push:
branches:
- main

jobs:
publish-gpr:
runs-on: ubuntu-latest
steps :
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@itsfuad'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "html-animation",
"name": "@itsfuad/html-animation",
"version": "1.0.1",
"description": "HTMLElement in-out animation",
"main": "animation.js",
"publishConfig": {
"registry": "https://npm.pkg.github.com/@itsfuad"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit 46efe8e

Please sign in to comment.