From 98560f7c2e8e00284b936269da3a18a0aab08f3e Mon Sep 17 00:00:00 2001 From: luizstacio Date: Sun, 16 Jun 2024 23:57:27 -0300 Subject: [PATCH] feat: add build step --- .github/workflows/docker-ui-publish.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/docker-ui-publish.yml b/.github/workflows/docker-ui-publish.yml index d9aa36405..87cadb5da 100644 --- a/.github/workflows/docker-ui-publish.yml +++ b/.github/workflows/docker-ui-publish.yml @@ -24,6 +24,21 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Create .env file graphql + run: cp packages/graphql/.env.example packages/graphql/.env + + - name: Create .env file explorer + run: cp packages/app-explorer/.env.example packages/app-explorer/.env + + - name: Setup Node + uses: FuelLabs/github-actions/setups/node@master + with: + node-version: 20.11.0 + pnpm-version: 8.9.2 + + - name: Build production UI + run: pnpm build:prod + - name: Build and push Fuel Explorer Graphql image of Explorer UI uses: ./.github/actions/docker-publish id: publish