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"
|
||||
|
||||
- name: Install Devbox
|
||||
run: |
|
||||
curl -fsSL https://get.jetpack.io/devbox | bash
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
devbox version # Verify installation
|
||||
uses: jetpack-io/devbox-install-action@v0.7.0
|
||||
|
||||
- name: Set up Devbox Environment
|
||||
run: |
|
||||
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: Install dependencies
|
||||
run: devbox install
|
||||
|
||||
- name: Bump Version with Commitizen
|
||||
run: |
|
||||
|
@ -7,7 +7,8 @@
|
||||
"templ@latest",
|
||||
"bun@latest",
|
||||
"ipfs-cluster@latest",
|
||||
"air@latest"
|
||||
"air@latest",
|
||||
"commitizen@latest"
|
||||
],
|
||||
"env": {
|
||||
"GOPATH": "$HOME/go",
|
||||
|
Loading…
x
Reference in New Issue
Block a user