Skip to content

Commit 85e2d3e

Browse files
committed
debug
1 parent 0049882 commit 85e2d3e

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/test-preview.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,21 @@ jobs:
4343
node-version: '20.18.0'
4444
cache: 'yarn'
4545

46-
46+
# Step 4: Install dependencies and build the site
47+
- name: Install and build
48+
run: |
49+
export NODE_OPTIONS="--max_old_space_size=4096"
50+
npm install -g yarn
51+
yarn install
52+
yarn build
4753
4854
# Step 3: Run Playwright tests
49-
- name: Run Playwright tests
50-
run: yarn playwright test
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
BASE_URL: ${{ github.event.deployment_status.environment_url }}
54-
ARGOS_BRANCH: ${{ github.event.deployment_status.environment == 'Production' && 'main' || github.ref_name }}
55-
CI: true
56-
ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}
55+
# - name: Run Playwright tests
56+
# run: yarn playwright test
57+
# env:
58+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
# BASE_URL: ${{ github.event.deployment_status.environment_url }}
60+
# ARGOS_BRANCH: ${{ github.event.deployment_status.environment == 'Production' && 'main' || github.ref_name }}
61+
# CI: true
62+
# ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}
5763

0 commit comments

Comments
 (0)