Skip to content

Commit

Permalink
action: attempt to fix NPM publishing (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 8, 2023
1 parent bdbcbf7 commit 2510e64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ jobs:
run: npm run build:release

- name: Upload npm folder
uses: actions/upload-pages-artifact@v1
uses: actions/upload-artifact@v3
with:
name: npmDist
path: ./
path: |
./
!./node_modules
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
npm-publish:
environment:
name: npm-publish
url: https://www.npmjs.com/package/graphql-voyager/v/${GITHUB_REF/refs\/tags\//}
url: https://www.npmjs.com/package/graphql-voyager/v/${{github.ref_name}}
needs: ci
permissions:
contents: read # for actions/checkout
Expand Down

0 comments on commit 2510e64

Please sign in to comment.