diff --git a/.gitignore b/.gitignore index a3ebac937fc66c..1abc17c92206b3 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ gutenberg.zip phpcs.xml yarn.lock /wordpress +/artifacts playground/dist .cache diff --git a/packages/e2e-tests/config/setup-debug-artifacts.js b/packages/e2e-tests/config/setup-debug-artifacts.js index 577fc0f5130cdb..dc491a74742280 100644 --- a/packages/e2e-tests/config/setup-debug-artifacts.js +++ b/packages/e2e-tests/config/setup-debug-artifacts.js @@ -3,7 +3,7 @@ */ const fs = require( 'fs' ); const util = require( 'util' ); -const root = process.env.GITHUB_WORKSPACE || __dirname + '/../../../'; +const root = process.env.GITHUB_WORKSPACE || process.cwd(); const ARTIFACTS_PATH = root + '/artifacts'; const writeFile = util.promisify( fs.writeFile );