chore: simplify devbox setup

This commit is contained in:
Prad Nukala 2024-09-14 15:30:32 -04:00
parent 811a79441e
commit 7bdf6c3eb4
2 changed files with 10 additions and 30 deletions

View File

@ -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: |

View File

@ -7,7 +7,8 @@
"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",