Skip to content

Commit

Permalink
setup dependabot (#173)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Sep 19, 2024
1 parent 92fc379 commit 519a4ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
6 changes: 3 additions & 3 deletions .github/workflows/auto-publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.target_commitish }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm i
- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "[email protected]"
- run: npm version ${{ github.event.release.tag_name }}
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
# use "beta" tag if relevant, otherwise use "latest"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
name: Check Tests
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup Node.js for use with actions
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
steps:
# first checkout your code
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

# then use redoc-cli-github-action to generate your HTML bundle
- name: Generate and rename Redoc documentation
run: |
npx redoc-cli bundle testomat-api-definition.yml
mv redoc-static.html index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 # https://github.com/peaceiris/actions-gh-pages
uses: peaceiris/actions-gh-pages@v4 # https://github.com/peaceiris/actions-gh-pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
Expand Down

0 comments on commit 519a4ec

Please sign in to comment.