Bump typescript from 5.7.2 to 5.7.3 #11
Workflow file for this run
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: Build and Screenshot | |
on: | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
container: | |
image: 'archlinux:latest' | |
permissions: write-all | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install packages | |
run: pacman -Sy pnpm nodejs npm chromium --noconfirm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: | | |
pnpm run build | |
- name: Take screenshot | |
run: | | |
sh -c "pnpm preview & sleep 10 && chromium --headless --disable-gpu --screenshot --window-size=1920,1080 http://localhost:4173/ --no-sandbox && pkill node" | |
- name: Upload screenshot | |
uses: actions/upload-artifact@v4 | |
with: | |
name: screenshot | |
path: screenshot.png |