Push Client Coverage #442
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push Client Coverage | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 13 * * *" # Schedule the job daily at 13:30 UTC | |
jobs: | |
update-coverage: | |
name: Update Client Coverage in docs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [21.x] | |
env: | |
commit-author: bot | |
author-email: [email protected] | |
commit-message: "docs: update clinet-coverage.md" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/node-setup | |
with: | |
versions: ${{ matrix.version }} | |
- name: Install Dependecies | |
uses: ./.github/actions/install-dependencies | |
- name: Client Test | |
uses: ./.github/actions/client-test-coverage | |
- name: Pushes Changelog File | |
uses: dmnemec/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_file: "clinet-coverage.md" | |
destination_repo: "equinor/fusion-project-portal-internal" | |
destination_folder: "/docs//developer/ops" | |
user_email: ${{ env.author-email}} | |
user_name: ${{ env.commit-author}} | |
commit_message: ${{ env.commit-message}} |