|
1 | 1 | name: Preview CI |
2 | 2 |
|
3 | 3 | env: |
4 | | - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} |
5 | 4 | VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} |
6 | | - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} |
7 | 5 | NEXT_PUBLIC_API_BASE_URL: ${{ secrets.NEXT_PUBLIC_API_BASE_URL }} |
8 | 6 | NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SUPABASE_URL }} |
9 | 7 | NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} |
@@ -60,33 +58,33 @@ jobs: |
60 | 58 | currnent_time: ${{ steps.current-time.outputs.formattedTime }} |
61 | 59 | needs: project-build |
62 | 60 | steps: |
63 | | - - name: Checkout |
64 | | - uses: actions/checkout@v4 |
65 | | - |
66 | | - - name: Setup node |
67 | | - uses: actions/setup-node@v4 |
68 | | - with: |
69 | | - node-version: 18 |
70 | | - cache: "yarn" |
71 | | - |
72 | | - - name: Set yarn version |
73 | | - id: set-version |
74 | | - run: | |
75 | | - yarn set version 4.1.1 |
76 | | - echo "YARN_VERSION=$(yarn -v)" >> $GITHUB_OUTPUT |
77 | | -
|
78 | | - - name: Yarn cache - PnP |
79 | | - uses: actions/cache@v4 |
80 | | - with: |
81 | | - path: | |
82 | | - .yarn/cache |
83 | | - .pnp.* |
84 | | - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ steps.set-version.outputs.YARN_VERSION }} |
85 | | - restore-keys: | |
86 | | - ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}- |
87 | | -
|
88 | | - - name: Install dependencies |
89 | | - run: yarn |
| 61 | + # - name: Checkout |
| 62 | + # uses: actions/checkout@v4 |
| 63 | + |
| 64 | + # - name: Setup node |
| 65 | + # uses: actions/setup-node@v4 |
| 66 | + # with: |
| 67 | + # node-version: 18 |
| 68 | + # cache: "yarn" |
| 69 | + |
| 70 | + # - name: Set yarn version |
| 71 | + # id: set-version |
| 72 | + # run: | |
| 73 | + # yarn set version 4.1.1 |
| 74 | + # echo "YARN_VERSION=$(yarn -v)" >> $GITHUB_OUTPUT |
| 75 | + |
| 76 | + # - name: Yarn cache - PnP |
| 77 | + # uses: actions/cache@v4 |
| 78 | + # with: |
| 79 | + # path: | |
| 80 | + # .yarn/cache |
| 81 | + # .pnp.* |
| 82 | + # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ steps.set-version.outputs.YARN_VERSION }} |
| 83 | + # restore-keys: | |
| 84 | + # ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}- |
| 85 | + |
| 86 | + # - name: Install dependencies |
| 87 | + # run: yarn |
90 | 88 |
|
91 | 89 | - name: Deploy to Vercel |
92 | 90 | id: deploy-vercel |
|
0 commit comments