fix bun install issue
Some checks failed
Bump Dependencies / update-dependencies (push) Failing after 56s
Some checks failed
Bump Dependencies / update-dependencies (push) Failing after 56s
This commit is contained in:
parent
73df515e62
commit
fd2a744bb2
@ -14,16 +14,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
run: |
|
uses: oven-sh/setup-bun@v2
|
||||||
curl -fsSL https://bun.sh/install | bash
|
|
||||||
echo 'export PATH="$HOME/.bun/bin:$PATH"' >> $HOME/.bashrc
|
|
||||||
source $HOME/.bashrc
|
|
||||||
bun --version
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
@ -34,10 +30,14 @@ jobs:
|
|||||||
- name: Build App
|
- name: Build App
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
|
||||||
- name: Commit and Push
|
- name: Commit and Push Changes
|
||||||
|
env:
|
||||||
|
USERNAME_GITEA: ${{ secrets.USERNAME_GITEA }}
|
||||||
|
TOKEN_GITEA: ${{ secrets.TOKEN_GITEA }}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "LibreCloud Actions Bot"
|
git config --global user.name "LibreCloud Actions Bot"
|
||||||
git config --global user.email "git@pontusmail.org"
|
git config --global user.email "git@pontusmail.org"
|
||||||
git add package.json bun.lockb
|
git remote set-url origin https://${USERNAME_GITEA}:${TOKEN_GITEA}@git.pontusmail.org/aidan/pontus.git
|
||||||
|
git add .
|
||||||
git commit -m "chore: bump dependencies" || exit 0
|
git commit -m "chore: bump dependencies" || exit 0
|
||||||
git push origin main
|
git push origin main
|
||||||
|
Reference in New Issue
Block a user