diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b6ba2ec..85b8a42e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c74e848..b169df10 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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