Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fey committed May 24, 2024
1 parent 9d449c8 commit 904c24c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ const uploadArtifacts = async (diffpath) => {

const artifactClient = new DefaultArtifactClient();
const artifactName = 'test-results';
console.log('22222222222222222222222222222222222');
console.log({ artifactName, archivePaths: [archivePath], projectSourcePath });
console.log('22222222222222222222222222222222222222222');
await artifactClient.uploadArtifact(artifactName, filepaths, diffpath);
// NOTE: Users need notification that screenshots have been generated. Not error.
core.info(colors.bgYellow.black('Download snapshots from Artifacts.'));
Expand Down Expand Up @@ -75,6 +78,9 @@ const uploadTestData = async (options) => {
const artifactName = 'test-data';
const artifactClient = new DefaultArtifactClient();
const archivePath = path.join(projectSourcePath, archiveName);
console.log('111111111111111111111111111111111111111111111111');
console.log({ artifactName, archivePaths: [archivePath], projectSourcePath });
console.log('111111111111111111111111111111111111111111111111');
await artifactClient.uploadArtifact(artifactName, [archivePath], projectSourcePath);
core.info(colors.bgYellow.black('Download snapshots from Artifacts.'));
};
Expand Down

0 comments on commit 904c24c

Please sign in to comment.