Skip to content

Commit a369f99

Browse files
committed
ci: add egg.json and publish workflow
1 parent 4757261 commit a369f99

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-1
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
publish-egg:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: denoland/setup-deno@v1
14+
with:
15+
deno-version: v1.x
16+
- run: deno install -A -f --unstable --no-check https://x.nest.land/eggs@0.3.6/eggs.ts
17+
- run: |
18+
export PATH="/home/runner/.deno/bin:$PATH"
19+
eggs link ${{ secrets.NESTAPIKEY }}
20+
eggs publish --yes

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Test Elasticsearch Adapter
1+
name: Test
2+
23
on:
34
push:
45
branches-ignore: main

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# hyper-adapter-elasticsearch
2+
3+
## Elasticsearch hyper Search port adapter
4+
5+
This Search port adapter uses Elasticsearch to index documents for full text search in the hyper service framework
6+
7+
[![nest badge](https://nest.land/badge.svg)](https://nest.land/package/hyper-adapter-elasticsearch)
8+
[![current version](https://img.shields.io/github/tag/hyper63/hyper-adapter-elasticsearch)](https://github.com/hyper63/hyper-adapter-elasticsearch/tags/)
9+
[![test status](https://github.com/hyper63/hyper-adapter-elasticsearch/workflows/.github/workflows/test.yml/badge.svg)](https://github.com/hyper63/hyper-adapter-elasticsearch/actions/workflows/test.yml)

egg.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://x.nest.land/eggs@0.3.8/src/schema.json",
3+
"name": "hyper-adapter-elasticsearch",
4+
"entry": "./mod.js",
5+
"description": "Hyper Search port adapter for Elasticsearch",
6+
"homepage": "https://github.com/hyper63/hyper-adapter-elasticsearch",
7+
"repo": "https://github.com/hyper63/hyper-adapter-elasticsearch",
8+
"version": "0.1.1",
9+
"unstable": false,
10+
"unlisted": false,
11+
"files": [
12+
"./*"
13+
],
14+
"ignore": [
15+
"./package.json",
16+
"./scripts/*",
17+
"./.git*"
18+
],
19+
"checkFormat": false,
20+
"checkTests": false,
21+
"checkInstallation": false,
22+
"check": false
23+
}

0 commit comments

Comments
 (0)