diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..dae4ae2 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +# This workflow contains a single job called "npm_test" +jobs: + npm_test: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + + - name: Install Dependencies 📌 + run: npm ci + + - name: Run Test Cases 🔧 + run: npm run test diff --git a/package.json b/package.json index 1a78ff3..a79d4fb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "loopback4-authentication", "version": "12.0.0", - "description": "A loopback-next extension for authentication feature. Oauth strategies supported.", + "description": "A loopback-next extension for authentication feature. Various Oauth strategies supported.", "keywords": [ "loopback-extension", "loopback",