Skip to content

Commit

Permalink
Merge pull request #6 from suzuki3jp/develop
Browse files Browse the repository at this point in the history
ci: Add job for generating API documentation
  • Loading branch information
suzuki3jp authored Jan 20, 2025
2 parents 517440b + bb64f89 commit ba7ce08
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
workflow_dispatch:

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Generates api documentation
run: npm run docs
vitest:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions src/managers/PlaylistItemManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class PlaylistItemManager {
* - The operation uses 1 quota unit.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlistItems/list)
* @param playlistId
* @param pageToken
* @param playlistId - The ID of the playlist to retrieve items from.
* @param pageToken - The page token to use for pagination.
* @returns
*/
public async getByPlaylistId(
Expand Down

0 comments on commit ba7ce08

Please sign in to comment.