Skip to content

Commit

Permalink
8.9.12-2
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowCrimsonGator committed May 15, 2024
1 parent b176be8 commit 0ccca63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: on release

on: pull_request
on: workflow_dispatch

jobs:
publish-github-registry:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -24,13 +22,19 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Build
run: yarn build:ethereum-wallets
run: yarn nx run-many --target=build --projects=core,ethereum-wallets,modal-ui,my-near-wallet --configuration=production
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: cd ./dist/packages/ethereum-wallets && npm pkg set name=@aurora-is-near/ethereum-wallets && npm publish --access public
- name: Publish Core
run: cd ./dist/packages/core && npm pkg set name=@aurora-is-near/wallet-selector/core && npm pkg set repository.url=https://github.com/aurora-is-near/wallet-selector.git && npm pkg set bugs.url=https://github.com/aurora-is-near/issues && npm pkg set homepage=https://github.com/aurora-is-near/wallet-selector/tree/main/packages/core && npm version prerelease && npm publish --access public
- name: Publish Modal ui
run: cd .. && cd ./modal-ui && npm pkg set name=@aurora-is-near/wallet-selector/modal-ui && npm pkg set repository.url=https://github.com/aurora-is-near/wallet-selector.git && npm pkg set bugs.url=https://github.com/aurora-is-near/issues && npm pkg set homepage=https://github.com/aurora-is-near/wallet-selector/tree/main/packages/modal-ui && npm version prerelease && npm publish --access public
- name: Publish My Near Wallet
run: cd .. && cd ./my-near-wallet && npm pkg set name=@aurora-is-near/wallet-selector/my-near-wallet && npm pkg set repository.url=https://github.com/aurora-is-near/wallet-selector.git && npm pkg set bugs.url=https://github.com/aurora-is-near/issues && npm pkg set homepage=https://github.com/aurora-is-near/wallet-selector/tree/main/packages/my-near-wallet && npm version prerelease && npm publish --access public
- name: Publish Ethereum Wallets
run: cd .. && cd ./dist/packages/ethereum-wallets && npm pkg set name=@aurora-is-near/wallet-selector/ethereum-wallets && npm pkg set repository.url=https://github.com/aurora-is-near/wallet-selector.git && npm pkg set bugs.url=https://github.com/aurora-is-near/issues && npm pkg set homepage=https://github.com/aurora-is-near/wallet-selector/tree/main/packages/ethereum-wallets && npm version prerelease && npm publish --access public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-wallet-selector",
"version": "8.9.12-1",
"version": "8.9.12-2",
"description": "NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem",
"keywords": [
"near",
Expand Down

0 comments on commit 0ccca63

Please sign in to comment.