Bump next from 14.2.12 to 14.2.21 in the npm_and_yarn group across 1 directory #1445
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: PR | |
on: | |
merge_group: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
app-preview: | |
runs-on: ubuntu-latest | |
env: | |
# Format: 'github_test_pr_' <run_id> [ ':' <run_attempt> ] | |
# | |
# The run attempt is only included for re-runs to keep the branch name | |
# slightly shorter and cleaner when there is no re-run. | |
NEON_BRANCH_NAME: github_test_pr_${{ github.run_id }}${{ github.run_attempt != '1' && format(':{0}', github.run_attempt) || '' }} | |
NEON_DATABASE_NAME: hao | |
steps: | |
- name: π Clone repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: π Create database branch for running tests | |
uses: neondatabase/create-branch-action@v5 | |
id: create-neon-branch | |
with: | |
api_key: ${{ secrets.NEON_API_KEY }} | |
branch_name: ${{ env.NEON_BRANCH_NAME }} | |
database: ${{ env.NEON_DATABASE_NAME }} | |
project_id: ${{ secrets.NEON_PROJECT_ID }} | |
username: ${{ secrets.NEON_USERNAME }} | |
- uses: ./.github/actions/setup-tools | |
- run: moon run app:dbMigrate --color --affected --remote | |
env: | |
DATABASE_URL: ${{ steps.create-neon-branch.outputs.db_url }} | |
- name: π Deploy to Vercel (preview) | |
run: moon run app:deployVercel --color --affected --remote | |
env: | |
EXPO_PUBLIC_REPLICACHE_LICENSE_KEY: ${{ secrets.EXPO_PUBLIC_REPLICACHE_LICENSE_KEY }} | |
HHH_VERCEL_PREVIEW: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_APP }} | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
- uses: neondatabase/delete-branch-action@v3 | |
with: | |
project_id: ${{ secrets.NEON_PROJECT_ID }} | |
branch: ${{ env.NEON_BRANCH_NAME }} | |
api_key: ${{ secrets.NEON_API_KEY }} | |
if: ${{ always() }} | |
static-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Clone repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup-tools | |
- name: π Deploy to Vercel (preview) | |
run: moon run static:deploy --color --affected --remote | |
env: | |
HHH_VERCEL_PREVIEW: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_STATIC }} | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
moon-ci: | |
runs-on: ubuntu-latest | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_STATIC }} | |
EXPO_PUBLIC_REPLICACHE_LICENSE_KEY: TEST_LICENSE_KEY | |
strategy: | |
matrix: | |
index: [0, 1] | |
steps: | |
- name: π Clone repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup-tools | |
- run: moon ci --color --job ${{ matrix.index }} --jobTotal 2 | |
- name: π§Ύ Results | |
uses: appthrust/moon-ci-retrospect@v1 | |
if: ${{ always() }} |