Skip to content

Commit 3f93c57

Browse files
committed
GithubActions_DockerfileChanges
1 parent a7685b1 commit 3f93c57

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939

4040
# Step to run tests
4141
- name: Run tests
42-
run: npm run test:serial
42+
run: npm run test:serial --ENV="qa"

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,5 @@ COPY . .
1616
# Install Chrome browser for use with Playwright
1717
RUN npx playwright install chrome
1818

19-
# Instead of passing --ENV="qa" in the command line (CMD parameter),
20-
# we are setting the environment variable here itself
21-
ENV npm_config_ENV=qa
22-
2319
# Here, we run the test script defined in package.json (npm run test:serial)
2420
CMD ["npm", "run", "test:serial"]

0 commit comments

Comments
 (0)