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