Skip to content

Commit 7387a6a

Browse files
authored
Merge pull request #981 from meilisearch/fix-release-v5
Add npm run build before publishing
2 parents 45eb7ac + ea0d0a8 commit 7387a6a

File tree

4 files changed

+14129
-20048
lines changed

4 files changed

+14129
-20048
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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strapi-plugin-meilisearch",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "Synchronise and search in your Strapi content-types with Meilisearch",
55
"scripts": {
66
"build": "strapi-plugin build",
@@ -102,7 +102,7 @@
102102
"license": "MIT",
103103
"repository": {
104104
"type": "git",
105-
"url": "https://github.com/meilisearch/strapi-plugin-meilisearch.git"
105+
"url": "git+https://github.com/meilisearch/strapi-plugin-meilisearch.git"
106106
},
107107
"homepage": "https://github.com/meilisearch/strapi-plugin-meilisearch#readme"
108-
}
108+
}

0 commit comments

Comments
 (0)