File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 type : ' choice'
3535 options :
3636 - ' prod'
37- # # - 'dev' # TODO(richieforeman) - support dev
37+ - ' dev'
3838 default : ' prod'
3939
4040jobs :
6666 node-version-file : ' .nvmrc'
6767 cache : ' npm'
6868
69+ - name : ' configure .npmrc'
70+ uses : ' ./.github/actions/setup-npmrc'
71+ with :
72+ github-token : ' ${{ secrets.GITHUB_TOKEN }}'
73+
6974 - name : ' Install Dependencies'
7075 run : |-
7176 npm ci
8388 run : |
8489 # Use the existing get-release-version.js script to calculate patch version
8590 # Run from main checkout which has full git history and access to npm
86- PATCH_JSON=$(node scripts/get-release-version.js --type=patch --patch-from=${{ github.event.inputs.type }})
91+ PATCH_JSON=$(node scripts/get-release-version.js --cli-package-name="${{vars.CLI_PACKAGE_NAME}}" -- type=patch --patch-from=${{ github.event.inputs.type }})
8792 echo "Patch version calculation result: ${PATCH_JSON}"
8893
8994 RELEASE_VERSION=$(echo "${PATCH_JSON}" | jq -r .releaseVersion)
You can’t perform that action at this time.
0 commit comments