build(deps): bump ws from 6.2.2 to 6.2.3 #303
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: Tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
# Allows running this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
screenshot-ubuntu: | |
name: Screenshot (Ubuntu) | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
width: [1200, 992, 768, 600] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Capture Screenshot | |
id: screenshot | |
uses: ./ | |
with: | |
source: https://github.com/swinton/screenshot-website | |
destination: github-com-swinton-screenshot-website-${{ matrix.os }}-${{ matrix.width }}.png | |
full-page: true | |
width: ${{ matrix.width }} | |
screenshot-macos: | |
name: Screenshot (macOS) | |
strategy: | |
matrix: | |
os: [macos-latest] | |
width: [1200, 992, 768, 600] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Capture Screenshot | |
id: screenshot | |
uses: ./ | |
with: | |
source: https://github.com/swinton/screenshot-website | |
destination: github-com-swinton-screenshot-website-${{ matrix.os }}-${{ matrix.width }}.png | |
full-page: true | |
width: ${{ matrix.width }} | |
screenshot-windows: | |
name: Screenshot (Windows) | |
strategy: | |
matrix: | |
os: [windows-latest] | |
width: [1200, 992, 768, 600] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Capture Screenshot | |
id: screenshot | |
uses: ./ | |
with: | |
source: https://github.com/swinton/screenshot-website | |
destination: github-com-swinton-screenshot-website-${{ matrix.os }}-${{ matrix.width }}.png | |
full-page: true | |
width: ${{ matrix.width }} | |
screenshot-no-width: | |
name: Screenshot (no width) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Capture Screenshot | |
id: screenshot | |
uses: ./ | |
with: | |
source: https://github.com/swinton/screenshot-website | |
destination: github-com-swinton-screenshot-website-ubuntu-latest-default.png | |
full-page: true |