Skip to content

Commit

Permalink
Update .npmignore and Github actions workflow
Browse files Browse the repository at this point in the history
Updated .npmignore to replace .eslintrc.js with .github to refine the contents that needs to be ignored by npm. Additionally, steps for Github actions workflow for jsDoc have been extended to include 'Checkout code' and 'Deploy' stage to enhance the CI/CD pipeline.
  • Loading branch information
erikyo committed Dec 2, 2023
1 parent 8a0680b commit a413ccc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/jsDoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Checkout code
uses: actions/checkout@v4

- name: Build
uses: andstor/jsdoc-action@v1
with:
Expand All @@ -18,3 +22,8 @@ jobs:
config_file: jsdoc.json
front_page: readme.md

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Project exclude paths
/.idea/

.eslintrc.js
.github

0 comments on commit a413ccc

Please sign in to comment.