Skip to content

Commit

Permalink
Merge pull request #81 from kuzzleio/6.3.0-proposal
Browse files Browse the repository at this point in the history
# [6.3.0](https://github.com/kuzzleio/kuzzle-plugin-auth-passport-local/releases/tag/6.3.0) (2021-07-13)


#### New features

- [ [#76](#76) ] Implement search method   ([MathieuVeber](https://github.com/MathieuVeber))
---
  • Loading branch information
MathieuVeber authored Jul 19, 2021
2 parents b5ef035 + edf5c83 commit 8f038af
Show file tree
Hide file tree
Showing 23 changed files with 5,571 additions and 1,346 deletions.
10 changes: 10 additions & 0 deletions .github/actions/tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Tests
description: Run Tests
runs:
using: "composite"
steps:
- name: Run tests
shell: bash
run: |
npm ci
npm test
27 changes: 27 additions & 0 deletions .github/workflows/pull_request.workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

name: Pull request checks

on: [pull_request]

jobs:
tests:
name: Tests
runs-on: ubuntu-18.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/[email protected]
with:
node-version: "12"
- uses: ./.github/actions/tests
58 changes: 58 additions & 0 deletions .github/workflows/push_master.workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Push checks

on:
push:
branches:
- master

jobs:
tests:
name: Tests
runs-on: ubuntu-18.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/[email protected]
with:
node-version: "12"
- uses: ./.github/actions/tests

npm-deploy:
name: Publish Package to NPM.js
runs-on: ubuntu-18.04
needs: [tests]
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: |
~/.cache/pip
~/.npm
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ _.kuzzlerc_
}
```

See [Kuzzle user authentication documentation](https://docs.kuzzle.io/core/2/guides/essentials/user-authentication/) for more details about Kuzzle authentication mechanism.
See [Kuzzle user authentication documentation](https://docs.kuzzle.io/core/2/guides/main-concepts/authentication/) for more details about Kuzzle authentication mechanism.

### Reset password

Expand Down
Loading

0 comments on commit 8f038af

Please sign in to comment.