diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 225e4d20..a78b990e 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -24,7 +24,6 @@ jobs: with: node-version: 22 cache: 'npm' - - run: npm install - run: npm run build-storybook --workspace=@tomplum/react-git-log-demo @@ -39,6 +38,19 @@ jobs: - run: npm install - run: npm run lint + docs: + runs-on: ubuntu-latest + needs: [build-library, lint] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + - run: npm install + - run: npm run docs --workspace=@tomplum/react-git-log + working-directory: packages/library + unit-tests-library: runs-on: ubuntu-latest needs: [build-library, lint] @@ -118,4 +130,4 @@ jobs: with: command: 'test' json: true - args: --severity-threshold=high --all-projects + args: --severity-threshold=high --all-projects \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5949aee0..d00b4382 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,6 +49,19 @@ jobs: - run: npm install - run: npm run lint + docs: + runs-on: ubuntu-latest + needs: [build-library, lint] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + - run: npm install + - run: npm run docs --workspace=@tomplum/react-git-log + working-directory: packages/library + unit-tests-library: runs-on: ubuntu-latest needs: [build-library, lint] diff --git a/.gitignore b/.gitignore index 1737f26b..6e2495d9 100644 --- a/.gitignore +++ b/.gitignore @@ -26,5 +26,5 @@ packages/library/tomplum-react-git-log-* *storybook.log packages/demo/storybook-static - -packages/library/coverage \ No newline at end of file +packages/library/coverage +packages/library/docs \ No newline at end of file diff --git a/.run/library _ docs.run.xml b/.run/library _ docs.run.xml new file mode 100644 index 00000000..87ce62dd --- /dev/null +++ b/.run/library _ docs.run.xml @@ -0,0 +1,12 @@ + + + + + +