Skip to content

Commit a730cb1

Browse files
committed
Fix dockerfile (add litlytics package on install), fix lib publishing condition
1 parent 3127c71 commit a730cb1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/prerelease-lib.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
echo "should_publish=true" >> $GITHUB_ENV
3333
fi
3434
35-
# Stop if no changes detected
36-
- name: Stop if no changes
37-
if: ${{ env.should_publish == 'false' }}
38-
run: exit 0
39-
4035
# install node (for npm utils)
4136
- name: Install node for npm checks
4237
uses: actions/setup-node@v4
@@ -88,7 +83,7 @@ jobs:
8883
8984
# install and publish if local version is not the same as published
9085
- name: publish
91-
if: ${{ steps.versions.outputs.current != steps.versions.outputs.new }}
86+
if: ${{ env.should_publish == 'true' }}
9287
working-directory: ./packages/litlytics
9388
run: bun publish --access public --tag next
9489
env:

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ENV NODE_ENV=production
66
WORKDIR /app
77
# install deps
88
ADD package.json bun.lockb ./
9+
COPY ./packages/litlytics ./packages/litlytics
910
RUN bun install --frozen-lockfile --ignore-scripts
1011

1112
# build app

0 commit comments

Comments
 (0)