We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e2ce4 commit 292c2b4Copy full SHA for 292c2b4
.github/workflows/deploy_alpha.yml
@@ -67,8 +67,12 @@ jobs:
67
run: npm run build
68
69
- name: Fetch latest alpha version
70
+ env:
71
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72
run: |
- LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --json | jq -r '.[]' | grep "^2.0.0-alphatest." | sort -V | tail -n 1)
73
+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
74
+
75
+ LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --registry=https://npm.pkg.github.com/ --json | jq -r '.[]' | grep "^2.0.0-alphatest." | sort -V | tail -n 1)
76
77
if [ -z "$LATEST_VERSION" ]; then
78
NEW_INCREMENTAL_NUMBER=1
0 commit comments