Skip to content

⬆️ Update dependency @types/react to ^18.3.12 #527

⬆️ Update dependency @types/react to ^18.3.12

⬆️ Update dependency @types/react to ^18.3.12 #527

Workflow file for this run

name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
statuses: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: moonrepo/setup-toolchain@v0
with:
auto-install: true
proto-version: 0.34.4
- run: pnpm install
- run: pnpm format:check
- run: pnpm lint
- uses: nexterias/actions-vercel@v1
id: vercel
with:
token: ${{ secrets.VERCEL_TOKEN }}
org-id: ${{ secrets.VERCEL_ORG_ID }}
project-id: ${{ secrets.VERCEL_PROJECT_ID }}
production: ${{ github.ref == 'refs/heads/main' }}
prebuilt: true
- name: Lighthouse CI - Healthcheck
run: pnpm dlx @lhci/[email protected] healthcheck --fatal
- name: Lighthouse CI - Collect
run: |
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
pnpm dlx @lhci/[email protected] collect -n 1 --url https://www.nexterias.dev
else
pnpm dlx @lhci/[email protected] collect -n 1 --url ${{ steps.vercel.outputs.deployment-url }}
fi
- name: Lighthouse CI - Upload
run: pnpm dlx @lhci/[email protected] upload --githubToken ${{ secrets.GITHUB_TOKEN }} --target temporary-public-storage