mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
you don not need build
This commit is contained in:
parent
c033419212
commit
9466366dda
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
@ -35,18 +35,18 @@ jobs:
|
||||
|
||||
# probably Vercel relevant. No idea why we have to build anything, so far
|
||||
# In version 1, I did not have to build anything to get things to work in CI
|
||||
- run: yarn build
|
||||
env:
|
||||
COMMERCE_PROVIDER: ${{ secrets.COMMERCE_PROVIDER }}
|
||||
NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN: ${{ secrets.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN }}
|
||||
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN: ${{ secrets.NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN }}
|
||||
# - run: yarn build
|
||||
# env:
|
||||
# COMMERCE_PROVIDER: ${{ secrets.COMMERCE_PROVIDER }}
|
||||
# NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN: ${{ secrets.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN }}
|
||||
# NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN: ${{ secrets.NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN }}
|
||||
|
||||
- name: Save build folder
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: build
|
||||
if-no-files-found: error
|
||||
path: build
|
||||
# - name: Save build folder
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: build
|
||||
# if-no-files-found: error
|
||||
# path: build
|
||||
|
||||
ui-chrome-tests:
|
||||
runs-on: ubuntu-latest
|
||||
@ -60,11 +60,11 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# must be Vercel relevant. No idea why we have to build anything
|
||||
- name: Download the build folders
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: build
|
||||
path: build
|
||||
# - name: Download the build folders
|
||||
# uses: actions/download-artifact@v2
|
||||
# with:
|
||||
# name: build
|
||||
# path: build
|
||||
|
||||
- name: 'Chrome E2E Tests'
|
||||
uses: cypress-io/github-action@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user