mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
chore: simplify devbox setup
This commit is contained in:
parent
811a79441e
commit
7bdf6c3eb4
27
.github/workflows/sync-branches.yml
vendored
27
.github/workflows/sync-branches.yml
vendored
@ -24,31 +24,10 @@ jobs:
|
|||||||
git config user.email "action@github.com"
|
git config user.email "action@github.com"
|
||||||
|
|
||||||
- name: Install Devbox
|
- name: Install Devbox
|
||||||
run: |
|
uses: jetpack-io/devbox-install-action@v0.7.0
|
||||||
curl -fsSL https://get.jetpack.io/devbox | bash
|
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
|
||||||
devbox version # Verify installation
|
|
||||||
|
|
||||||
- name: Set up Devbox Environment
|
- name: Install dependencies
|
||||||
run: |
|
run: devbox install
|
||||||
devbox shell -- rm -rf .devbox # Clean any previous state
|
|
||||||
devbox shell --command "true" # Initialize Devbox environment
|
|
||||||
|
|
||||||
- name: Install Project Dependencies
|
|
||||||
run: |
|
|
||||||
devbox run install
|
|
||||||
|
|
||||||
- name: Run Build Scripts
|
|
||||||
run: |
|
|
||||||
devbox run build
|
|
||||||
|
|
||||||
- name: Install Commitizen with Bun
|
|
||||||
run: |
|
|
||||||
# Verify that bun is installed
|
|
||||||
devbox shell -- bun --version
|
|
||||||
|
|
||||||
# Install Commitizen globally using bun
|
|
||||||
devbox shell -- bun add -g commitizen
|
|
||||||
|
|
||||||
- name: Bump Version with Commitizen
|
- name: Bump Version with Commitizen
|
||||||
run: |
|
run: |
|
||||||
|
13
devbox.json
13
devbox.json
@ -7,15 +7,16 @@
|
|||||||
"templ@latest",
|
"templ@latest",
|
||||||
"bun@latest",
|
"bun@latest",
|
||||||
"ipfs-cluster@latest",
|
"ipfs-cluster@latest",
|
||||||
"air@latest"
|
"air@latest",
|
||||||
|
"commitizen@latest"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"GOPATH": "$HOME/go",
|
"GOPATH": "$HOME/go",
|
||||||
"PATH": "$HOME/go/bin:$PATH",
|
"PATH": "$HOME/go/bin:$PATH",
|
||||||
"CHAIN_ID": "sonr-testnet-1",
|
"CHAIN_ID": "sonr-testnet-1",
|
||||||
"DENOM": "usnr",
|
"DENOM": "usnr",
|
||||||
"KEYRING": "test",
|
"KEYRING": "test",
|
||||||
"MONIKER": "florence"
|
"MONIKER": "florence"
|
||||||
},
|
},
|
||||||
"shell": {
|
"shell": {
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user