diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dc0e05ae3..5bd5772d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,6 +31,7 @@ jobs: with: node-version: 22 registry-url: 'https://registry.npmjs.org' + - run: npm install -g npm@latest # ensure that the globally installed npm is new enough to support OIDC - run: npm ci - name: Build library run: npm run build_lib diff --git a/package.json b/package.json index d8096420e..27f383226 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "angular-shepherd", "private": true, - "workspaces": [ - "projects/shepherd" - ], "repository": { "type": "git", "url": "git+ssh://git@github.com/shipshapecode/angular-shepherd.git" }, + "workspaces": [ + "projects/shepherd" + ], "scripts": { "build": "ng build", "build_lib": "ng build shepherd && cp README.md projects/shepherd/dist/", diff --git a/projects/shepherd/src/lib/shepherd.service.ts b/projects/shepherd/src/lib/shepherd.service.ts index 4d86fac3b..40821f5da 100644 --- a/projects/shepherd/src/lib/shepherd.service.ts +++ b/projects/shepherd/src/lib/shepherd.service.ts @@ -152,7 +152,7 @@ export class ShepherdService { } /** - * Initializes the tour, creates a new Shepherd.Tour. sets options, and binds events + * Initializes the tour, creates a new Shepherd.Tour. sets options, and binds events. */ private _initialize() { const tourObject = new Shepherd.Tour({