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 12c0a73 commit 47c7407Copy full SHA for 47c7407
.github/workflows/publish_npm_package.yaml
@@ -27,18 +27,14 @@ jobs:
27
PKG_VERSION: ${{ steps.mkversion.outputs.PKG_VERSION }}
28
steps:
29
- uses: actions/checkout@v5
30
- # Setup .npmrc file to publish to npm
31
- uses: actions/setup-node@v5
32
- with:
33
- node-version: "20.x"
34
- registry-url: "https://registry.npmjs.org"
35
- name: Determine version
36
id: mkversion
37
env:
38
RELEASE_INPUT: ${{ github.event.inputs.release }}
39
working-directory: api/node
40
run: |
41
- version=`npm pkg get version | jq -r`
+ version=`pnpm pkg get version | jq -r`
42
if [ "$RELEASE_INPUT" != "true" ]; then
43
nightly_version_suffix=`git log -1 --format=%cd --date="format:%Y%m%d%H"`
44
version="$version-nightly.$nightly_version_suffix"
0 commit comments