⬆️ Update dependency @icons-pack/react-simple-icons to v10 #540
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: 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 |