Include other actions-only EA-cloning tests now
This commit is contained in:
@@ -5,23 +5,19 @@ const { GITHUB_ACTIONS, GITHUB_REPOSITORY } = process.env
|
||||
const runningActionsOnInternalRepo = GITHUB_ACTIONS === 'true' && GITHUB_REPOSITORY === 'github/docs-internal'
|
||||
const testViaActionsOnly = runningActionsOnInternalRepo ? test : test.skip
|
||||
|
||||
//
|
||||
// TODO test ea-config
|
||||
//
|
||||
|
||||
describe('cloning early-access', () => {
|
||||
testViaActionsOnly('the content directory exists', async () => {
|
||||
const eaContentDir = path.join(process.cwd(), 'content/early-access')
|
||||
expect(fs.existsSync(eaContentDir)).toBe(true)
|
||||
})
|
||||
|
||||
// testViaActionsOnly('the data directory exists', async () => {
|
||||
// const eaContentDir = path.join(process.cwd(), 'data/early-access')
|
||||
// expect(fs.existsSync(eaContentDir)).toBe(true)
|
||||
// })
|
||||
testViaActionsOnly('the data directory exists', async () => {
|
||||
const eaContentDir = path.join(process.cwd(), 'data/early-access')
|
||||
expect(fs.existsSync(eaContentDir)).toBe(true)
|
||||
})
|
||||
|
||||
// testViaActionsOnly('the assets directory exists', async () => {
|
||||
// const eaContentDir = path.join(process.cwd(), 'assets/early-access')
|
||||
// expect(fs.existsSync(eaContentDir)).toBe(true)
|
||||
// })
|
||||
testViaActionsOnly('the assets/images directory exists', async () => {
|
||||
const eaContentDir = path.join(process.cwd(), 'assets/images/early-access')
|
||||
expect(fs.existsSync(eaContentDir)).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user