Bump dompurify from 3.3.3 to 3.4.1 in /exampleSite #430
Workflow file for this run
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: PR Workflows | |
| # Run action on pull request event | |
| on: [pull_request] | |
| jobs: | |
| # Build exampleSite | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # checkout to the commit that has been pushed | |
| - uses: actions/[email protected] | |
| # Setup mise | |
| - uses: jdx/mise-action@v4 | |
| - name: Build | |
| run: | | |
| mise run build | |
| # Run linter | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| # Setup mise | |
| - uses: jdx/mise-action@v4 | |
| - name: Lint | |
| run: | | |
| mise run lint | |
| lighthouse-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Waiting for Netlify Preview | |
| uses: kamranayub/[email protected] | |
| id: preview | |
| with: | |
| site_name: "toha-ci" | |
| max_timeout: 300 | |
| env: | |
| NETLIFY_TOKEN: ${{secrets.NETLIFY_TOKEN}} | |
| - name: Run Lighthouse | |
| uses: foo-software/[email protected] | |
| id: lighthouseCheck | |
| with: | |
| accessToken: ${{ secrets.LIGHTHOUSE_TOKEN }} | |
| gitHubAccessToken: ${{secrets.GITHUB_TOKEN}} | |
| emulatedFormFactor: "all" | |
| prCommentEnabled: true | |
| prCommentSaveOld: false | |
| timeout: 5 | |
| urls: "${{ steps.preview.outputs.url }},${{ steps.preview.outputs.url }}/posts/,${{ steps.preview.outputs.url }}/posts/markdown-sample/,${{ steps.preview.outputs.url }}/posts/shortcodes/" | |
| # Check for any broken links | |
| markdown-link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # checkout to latest commit | |
| - uses: actions/[email protected] | |
| # run markdown linter | |
| - uses: gaurav-nelson/[email protected] |