Skip to content

Commit 2510e64

Browse files
action: attempt to fix NPM publishing (#349)
1 parent bdbcbf7 commit 2510e64

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ jobs:
195195
run: npm run build:release
196196

197197
- name: Upload npm folder
198-
uses: actions/upload-pages-artifact@v1
198+
uses: actions/upload-artifact@v3
199199
with:
200200
name: npmDist
201-
path: ./
201+
path: |
202+
./
203+
!./node_modules

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
npm-publish:
1515
environment:
1616
name: npm-publish
17-
url: https://www.npmjs.com/package/graphql-voyager/v/${GITHUB_REF/refs\/tags\//}
17+
url: https://www.npmjs.com/package/graphql-voyager/v/${{github.ref_name}}
1818
needs: ci
1919
permissions:
2020
contents: read # for actions/checkout

0 commit comments

Comments
 (0)