chore(deps-dev): bump @testing-library/jest-dom from 6.9.1 to 7.0.1 #1438
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: Docs preview | |
| on: | |
| pull_request: | |
| types: | |
| # Trigger when the pull request is labelled. | |
| # Used to only deploy previews when the "docs preview" label is added. | |
| - labeled | |
| # Trigger when an existing PR is updated. | |
| # Used to make sure new previews are deployed for changes after the label is added. | |
| - synchronize | |
| jobs: | |
| # This job will: | |
| # * deploy a draft every time there is a pull request created that has the expected label | |
| # * comment on that pull request with the deploy URL | |
| docs-preview: | |
| name: Deploy docs preview to Netlify | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'docs preview') | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 | |
| with: | |
| node-version-file: .nvmrc | |
| # Setup docs site | |
| - uses: ruby/setup-ruby@003a5c4d8d6321bd302e38f6f0ec593f77f06600 # v1.319.0 | |
| with: | |
| ruby-version: "4.0.5" | |
| bundler-cache: true | |
| working-directory: website | |
| # Install dependencies | |
| - run: npm ci | |
| working-directory: website | |
| - run: ./bin/static-build | |
| working-directory: website | |
| - name: Deploy draft to Netlify | |
| uses: South-Paw/action-netlify-deploy@2e5ce944afb065f54453c5cc03291670687b454b | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
| netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }} | |
| build-dir: ./website/build | |
| draft: true | |
| comment-on-pull-request: true | |
| config-path: ./netlify.toml |