From 1989540a6edea6d2cdebe367050bbb225af52b96 Mon Sep 17 00:00:00 2001 From: sirpy Date: Wed, 10 Jul 2024 11:56:16 +0300 Subject: [PATCH] fix: production build action --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 07e9cb1c..a5953585 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,12 +22,14 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 cache: yarn - run: yarn install --immutable + - run: yarn build:contracts + - run: yarn build:sdk - run: yarn vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - run: yarn vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - run: yarn vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}