Skip to content

Commit d4c5287

Browse files
committed
Add npm run build before publishing
1 parent 45eb7ac commit d4c5287

File tree

3 files changed

+14126
-20045
lines changed

3 files changed

+14126
-20045
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
run: sh .github/scripts/check-release.sh
1717
- name: Check tag format
1818
run: sh .github/scripts/check-tag-format.sh "${{ github.event.release.prerelease }}"
19+
- name: Build
20+
run: npm run build
1921
- name: Publish with latest tag
2022
if: "!github.event.release.prerelease && !contains(github.ref, 'beta')"
2123
run: npm publish .

docker-compose.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
version: "3.8"
2-
31
services:
42
package:
5-
image: node:16
3+
image: node:18
64
tty: true
75
stdin_open: true
86
working_dir: /home/package
97
command: "yarn run playground:dev"
108
environment:
11-
- MEILISEARCH_HOST=http://meilisearch:7700
9+
- MEILISEARCH_HOST=http://localhost:7700
1210
depends_on:
1311
- meilisearch
1412
links:
@@ -21,7 +19,7 @@ services:
2119
meilisearch:
2220
image: getmeili/meilisearch:latest
2321
ports:
24-
- "7700"
22+
- "7700:7700"
2523
environment:
2624
- MEILI_MASTER_KEY=masterKey
2725
- MEILI_NO_ANALYTICS=true

0 commit comments

Comments
 (0)