Skip to content

Bump @next/font from 13.4.16 to 13.4.19 #263

Bump @next/font from 13.4.16 to 13.4.19

Bump @next/font from 13.4.16 to 13.4.19 #263

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
test_pull_request_dependabot:
name: Lint code and build project (dependabot only)
if: ${{ github.actor == 'dependabot[bot]' }}
environment: preview
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Lint code and build project
run: yarn build
test_pull_request_user:
name: Lint, build, and deploy PR
if: ${{ github.actor != 'dependabot[bot]' }}
environment: preview
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Setup deployment
uses: bobheadxi/[email protected]
id: deployment
with:
step: start
token: ${{ secrets.GITHUB_TOKEN }}
env: preview-${{ github.head_ref }}
ref: ${{ github.head_ref }}
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Lint, build and preview deployment
id: deploy-netlify
run: |
COMMAND="netlify deploy --build --context branch-deploy --alias ${{ github.head_ref }}"
OUTPUT=$(sh -c "$COMMAND")
NETLIFY_URL=$(echo "$OUTPUT" | grep -Eo '(http|https)://[a-zA-Z0-9./?=_-]*(--)[a-zA-Z0-9./?=_-]*') # Unique key: --
NETLIFY_LOGS_URL=$(echo "$OUTPUT" | grep -Eo '(http|https)://app.netlify.com/[a-zA-Z0-9./?=_-]*') # Unique key: app.netlify.com
echo "netlify_preview_url=$NETLIFY_URL" >> $GITHUB_OUTPUT
echo "netlify_logs_url=$NETLIFY_LOGS_URL" >> $GITHUB_OUTPUT
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- name: Update deployment status
uses: bobheadxi/[email protected]
if: always()
with:
step: finish
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
logs: ${{ steps.deploy-netlify.outputs.netlify_logs_url }}
env_url: ${{ steps.deploy-netlify.outputs.netlify_preview_url }}