diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 616ec926..32193c22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -343,7 +343,7 @@ jobs: - uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Fetch library artifacts uses: actions/download-artifact@v4 @@ -356,7 +356,7 @@ jobs: pip install setuptools wheel twine auditwheel - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build run: pnpm build @@ -392,9 +392,9 @@ jobs: (github.event_name == 'workflow_dispatch' && github.event.inputs.publish-javascript-wrapper == 'true') run: | if [[ $(cat lerna.json | grep version | head -1 | grep dev) ]]; then - npx lerna publish from-package --no-push --no-private --yes --no-git-tag-version --dist-tag=alpha + pnpm release:alpha else - npx lerna publish from-package --no-push --no-private --yes --no-git-tag-version + pnpm release fi build-ios: diff --git a/wrappers/javascript/package.json b/wrappers/javascript/package.json index 76812d0f..3f9e38a2 100644 --- a/wrappers/javascript/package.json +++ b/wrappers/javascript/package.json @@ -24,7 +24,8 @@ "nodejs": "pnpm --cwd packages/aries-askar-nodejs", "react-native": "pnpm --cwd packages/aries-askar-react-native", "test:local-build": "LIB_ARIES_ASKAR_PATH=../../target/release pnpm test", - "set-version": "npx lerna version --exact --no-git-tag-version --no-push --yes" + "release": "lerna publish from-package --no-push --no-private --yes --no-git-tag-version", + "release:alpha": "pnpm release --dist-tag=alpha" }, "devDependencies": { "@pnpm/eslint-config": "^1.1.0",