Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/check-package-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup NodeJS
uses: "actions/setup-node@v3"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
node-version: 18.15
bun-version: 1.0.1

- name: Check if version has been updated
id: check
Expand All @@ -28,7 +28,7 @@ jobs:
run: 'echo "Yayy!! Version change found in commit ${{ steps.check.outputs.commit }}! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"'

- name: Dry run Arka build
run: cd backend && npm install && npm run build
run: cd backend && cp config.json.default config.json && bun install && bun run build

- name: Log when unchanged
if: steps.check.outputs.changed == 'false'
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Checkout frontend
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.0.1
- name: Get frontend package version
id: get_frontend_version
run: echo frontend_version=$(node -p "require('./frontend/package.json').version") >> $GITHUB_OUTPUT
run: echo frontend_version=$(bun run -e "console.log(require('./frontend/package.json').version)") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -43,9 +47,13 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Checkout admin_frontend
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.0.1
- name: Get admin_frontend package version
id: get_admin_frontend_version
run: echo admin_frontend_version=$(node -p "require('./admin_frontend/package.json').version") >> $GITHUB_OUTPUT
run: echo admin_frontend_version=$(bun run -e "console.log(require('./admin_frontend/package.json').version)") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -71,9 +79,13 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Checkout backend
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.0.1
- name: Get backend package version
id: get_backend_version
run: echo backend_version=$(node -p "require('./backend/package.json').version") >> $GITHUB_OUTPUT
run: echo backend_version=$(bun run -e "console.log(require('./backend/package.json').version)") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
Binary file added backend/bun.lockb
Binary file not shown.
Loading