Release Note (portal): Test release notes automation #10
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| needs: [] | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: lycheeverse/lychee-action@v2 | |
| id: lychee | |
| with: | |
| args: ". --exclude '^file://.*'" | |
| fail: true | |
| build: | |
| runs-on: windows-latest | |
| needs: [] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: fiskaltrust/service-docs-ui | |
| token: ${{ secrets.DOCS_REPOS_READ_TOKEN }} | |
| submodules: true | |
| - name: Update submodules | |
| run: git submodule update --recursive --remote | |
| - name: Checkout release-notes to specific ref | |
| working-directory: changelog | |
| run: | | |
| git fetch origin ${{ github.event.pull_request.head.sha }} | |
| git checkout ${{ github.event.pull_request.head.sha }} | |
| - name: Restore packages | |
| run: yarn install | |
| - name: Build site | |
| run: yarn build |