mirror of
https://github.com/wavetermdev/waveterm
synced 2026-04-21 14:37:16 +00:00
Bumps [nick-fields/retry](https://github.com/nick-fields/retry) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nick-fields/retry/releases">nick-fields/retry's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h1><a href="https://github.com/nick-fields/retry/compare/v3.0.2...v4.0.0">4.0.0</a> (2026-03-20)</h1> <h2>v3.0.2</h2> <h2><a href="https://github.com/nick-fields/retry/compare/v3.0.1...v3.0.2">3.0.2</a> (2025-02-25)</h2> <p>Fixed an issue with the automated release that prevented <a href="https://redirect.github.com/nick-fields/retry/issues/146">#146</a> from being properly released</p> <h2>What's Changed</h2> <ul> <li>Bump action versions, fix tag step in release, regen js by <a href="https://github.com/nick-fields"><code>@nick-fields</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/149">nick-fields/retry#149</a></li> <li>Bump semantic-release packages by <a href="https://github.com/nick-fields"><code>@nick-fields</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/150">nick-fields/retry#150</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nick-fields/retry/compare/v...v3.0.2">https://github.com/nick-fields/retry/compare/v...v3.0.2</a></p> <h2>v3.0.1</h2> <h2>What's Changed</h2> <ul> <li>fix: group log lines for each attempt by <a href="https://github.com/raja-anbazhagan"><code>@raja-anbazhagan</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/146">nick-fields/retry#146</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/raja-anbazhagan"><code>@raja-anbazhagan</code></a> made their first contribution in <a href="https://redirect.github.com/nick-fields/retry/pull/146">nick-fields/retry#146</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nick-fields/retry/compare/v...v3.0.1">https://github.com/nick-fields/retry/compare/v...v3.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ad984534de"><code>ad98453</code></a> Merge pull request <a href="https://redirect.github.com/nick-fields/retry/issues/165">#165</a> from nick-fields/nrf/node24</li> <li><a href="16b9199fa5"><code>16b9199</code></a> major: upgrade to node24</li> <li><a href="9417ab4993"><code>9417ab4</code></a> Merge pull request <a href="https://redirect.github.com/nick-fields/retry/issues/148">#148</a> from xavier2k6/nf_retry_p1</li> <li><a href="07cd61dba6"><code>07cd61d</code></a> Merge branch 'master' into nf_retry_p1</li> <li><a href="d6b241c90e"><code>d6b241c</code></a> Merge branch 'master' into nf_retry_p1</li> <li><a href="8d92921684"><code>8d92921</code></a> Bump ci_cd workflow actions</li> <li>See full diff in <a href="https://github.com/nick-fields/retry/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
80 lines
2.6 KiB
YAML
80 lines
2.6 KiB
YAML
name: Docsite CI/CD
|
|
|
|
run-name: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'Build and Deploy' || 'Test Build' }} Docsite
|
|
|
|
env:
|
|
NODE_VERSION: 22
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
# Also run any time a PR is opened targeting the docs
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- ready_for_review
|
|
paths:
|
|
- "docs/**"
|
|
- ".github/workflows/deploy-docsite.yml"
|
|
- "Taskfile.yml"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Docsite
|
|
runs-on: ubuntu-latest
|
|
if: github.event.pull_request.draft == false
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: ${{env.NODE_VERSION}}
|
|
cache: npm
|
|
cache-dependency-path: package-lock.json
|
|
- name: Install Task
|
|
uses: arduino/setup-task@v2
|
|
with:
|
|
version: 3.x
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: nick-fields/retry@v4
|
|
name: npm ci
|
|
with:
|
|
command: npm ci --no-audit --no-fund
|
|
retry_on: error
|
|
max_attempts: 3
|
|
timeout_minutes: 5
|
|
- name: Build docsite
|
|
run: task docsite:build:public
|
|
- name: Upload Build Artifact
|
|
# Only upload the build artifact when pushed to the main branch
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: docs/build
|
|
deploy:
|
|
name: Deploy to GitHub Pages
|
|
# Only deploy when pushed to the main branch
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
needs: build
|
|
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
|
|
permissions:
|
|
pages: write # to deploy to Pages
|
|
id-token: write # to verify the deployment originates from an appropriate source
|
|
|
|
# Deploy to the github-pages environment
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|