Skip to content

Commit

Permalink
Merge pull request #981 from meilisearch/fix-release-v5
Browse files Browse the repository at this point in the history
Add npm run build before publishing
  • Loading branch information
brunoocasali authored Nov 27, 2024
2 parents 45eb7ac + ea0d0a8 commit 7387a6a
Show file tree
Hide file tree
Showing 4 changed files with 14,129 additions and 20,048 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
run: sh .github/scripts/check-release.sh
- name: Check tag format
run: sh .github/scripts/check-tag-format.sh "${{ github.event.release.prerelease }}"
- name: Build
run: npm run build
- name: Publish with latest tag
if: "!github.event.release.prerelease && !contains(github.ref, 'beta')"
run: npm publish .
Expand Down
8 changes: 3 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
version: "3.8"

services:
package:
image: node:16
image: node:18
tty: true
stdin_open: true
working_dir: /home/package
command: "yarn run playground:dev"
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- MEILISEARCH_HOST=http://localhost:7700
depends_on:
- meilisearch
links:
Expand All @@ -21,7 +19,7 @@ services:
meilisearch:
image: getmeili/meilisearch:latest
ports:
- "7700"
- "7700:7700"
environment:
- MEILI_MASTER_KEY=masterKey
- MEILI_NO_ANALYTICS=true
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "strapi-plugin-meilisearch",
"version": "0.13.0",
"version": "0.13.1",
"description": "Synchronise and search in your Strapi content-types with Meilisearch",
"scripts": {
"build": "strapi-plugin build",
Expand Down Expand Up @@ -102,7 +102,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/meilisearch/strapi-plugin-meilisearch.git"
"url": "git+https://github.com/meilisearch/strapi-plugin-meilisearch.git"
},
"homepage": "https://github.com/meilisearch/strapi-plugin-meilisearch#readme"
}
}
Loading

0 comments on commit 7387a6a

Please sign in to comment.