Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(js): install pnpm dependencies with frozen lockfile #275

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading