Skip to content

Commit

Permalink
chore(js): install pnpm dependencies with frozen lockfile (openwallet…
Browse files Browse the repository at this point in the history
…-foundation#275)

Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht authored Jul 3, 2024
1 parent 55352df commit e480b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 8
version: 9

- name: Fetch library artifacts
uses: actions/download-artifact@v4
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion wrappers/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e480b68

Please sign in to comment.