From 14754df49ab05b11e4a04d29a2f4a891949f9ce9 Mon Sep 17 00:00:00 2001 From: shaozi Date: Fri, 13 Sep 2024 23:27:50 -0500 Subject: [PATCH] GitHub action 1 (#75) * update ci script * bump to 3.2.4 --- .github/workflows/npm-publish.yml | 8 ++++---- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 382fe3e..1802be8 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Node.js Package +name: Publish to NPM on: release: @@ -12,18 +12,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 - run: npm ci - - run: npm test + publish-npm: needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 registry-url: https://registry.npmjs.org/ diff --git a/package-lock.json b/package-lock.json index 2c9c806..777a30e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ldap-authentication", - "version": "3.2.3", + "version": "3.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ldap-authentication", - "version": "3.2.3", + "version": "3.2.4", "license": "BSD-2-Clause", "dependencies": { "ldapjs": "^3.0.7" diff --git a/package.json b/package.json index 19a59a0..4387b9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ldap-authentication", - "version": "3.2.3", + "version": "3.2.4", "description": "A simple async nodejs library for LDAP user authentication", "main": "index.js", "types": "./index.d.ts",