Skip to content

Commit

Permalink
Fix NPM package generation (#21)
Browse files Browse the repository at this point in the history
The plugin was not built before being publish on NPM resulting on an empty plugin
  • Loading branch information
Aschen authored Jul 6, 2021
1 parent 3757db3 commit d40985e
Show file tree
Hide file tree
Showing 5 changed files with 791 additions and 499 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push_master.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ node_modules
coverage
build

*.d.ts
*.js.map
lib/**/*.js
lib/**/*.d.ts
lib/**/*.js.map

index.d.ts
index.js.map
index.js
7 changes: 1 addition & 6 deletions demo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,9 @@ services:
image: redis:5

elasticsearch:
image: kuzzleio/elasticsearch:7.3.0
image: kuzzleio/elasticsearch:7
ulimits:
nofile: 65536
environment:
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
- node.name=alyx
- cluster.name=kuzzle
- discovery.type=single-node

prometheus:
image: prom/prometheus
Expand Down
Loading

0 comments on commit d40985e

Please sign in to comment.