Skip to content

Commit

Permalink
Update new-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
appsaeed authored May 21, 2024
1 parent a1cbb6c commit 3e96542
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/new-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,8 @@ jobs:
registry-url: https://npm.pkg.github.com/
scope: "@appsaeed" # Update the scope if necessary

- name: Read package name
id: get-package-name
run: echo "::set-output name=name::$(jq -r .name package.json)"
shell: bash
- name: Display package name
run: |
echo "Package name is: ${{ needs.get-package-name.outputs.name }}"
- run: npm config set registry https://npm.pkg.github.com
- run: npm run build
- run: npm publish --access public --name @appsaeed/${{ needs.get-package-name.outputs.name }}
# - run: npm publish npm publish --name @${github.repository_owner}/utilies
- run: npm publish --access public --name @${{github.repository_owner}}/${{ github.repository }}
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 3e96542

Please sign in to comment.