Skip to content

Commit

Permalink
Revert "Repurpose public e2e (revert this before merge!)"
Browse files Browse the repository at this point in the history
This reverts commit 624470e.
  • Loading branch information
geelen committed May 4, 2020
1 parent bc45614 commit e9233ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/public-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: FAB Public Package CI
on:
push:
branches:
- new-runtime-api
- next
- master
- auto-install-flag

jobs:
public_package_build:
Expand Down
4 changes: 1 addition & 3 deletions tests/e2e/create-react-app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ describe('Create React App E2E Test', () => {
await fs.writeFile(`${cwd}/.env`, `SKIP_PREFLIGHT_CHECK=true`)
await shell(`cat .env`, { cwd })
await shell(
process.env.PUBLIC_PACKAGES
? 'npx fab init -y --version=next'
: 'fab init -y --skip-install',
process.env.PUBLIC_PACKAGES ? 'npx fab init -y' : 'fab init -y --skip-install',
{
cwd,
}
Expand Down
4 changes: 1 addition & 3 deletions tests/e2e/nextjs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ describe('Create React App E2E Test', () => {

it('should configure the NextJS project to produce FABs', async () => {
await shell(
process.env.PUBLIC_PACKAGES
? 'npx fab init -y --version=next'
: 'fab init -y --skip-install',
process.env.PUBLIC_PACKAGES ? 'npx fab init -y' : 'fab init -y --skip-install',
{
cwd,
}
Expand Down

0 comments on commit e9233ee

Please sign in to comment.