From 543429852b69ff4ec01ea7bc66f9b22808f717a9 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 9 Oct 2024 15:30:24 +0100 Subject: [PATCH] add bun fixer workflow --- .gitea/workflows/fix-bun-lock-file.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/fix-bun-lock-file.yml diff --git a/.gitea/workflows/fix-bun-lock-file.yml b/.gitea/workflows/fix-bun-lock-file.yml new file mode 100644 index 0000000..b2493b0 --- /dev/null +++ b/.gitea/workflows/fix-bun-lock-file.yml @@ -0,0 +1,26 @@ +name: Fix bun lock file + +on: + push: + paths: + - package.json + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install bun + uses: oven-sh/setup-bun@v2 + + - name: Install dependencies + run: bun install + + - name: Commit bun lock file + run: | + git config --global user.email "helper@fascinated.cc" + git config --global user.name "Bun Fixer" + git add bun.lockb + git commit -m "Fix bun lock file" + git push \ No newline at end of file