diff --git a/.artifactignore b/.artifactignore new file mode 100644 index 0000000..dadbc59 --- /dev/null +++ b/.artifactignore @@ -0,0 +1,9 @@ +src +node_modules + +README.md +.* +package.json +yarn.lock +webpack.config.js +tsconfig.json diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml new file mode 100644 index 0000000..9f6ba4b --- /dev/null +++ b/azure-pipelines.yaml @@ -0,0 +1,16 @@ +trigger: + - main + +pool: + vmImage: 'ubuntu-latest' + +steps: + - script: yarn install + displayName: 🛠️ Install Dependencies + - script: yarn build + displayName: 🚀 Build Plugin + - task: PublishPipelineArtifact@1 + displayName: 📦 Create Artifact + inputs: + targetPath: $(System.DefaultWorkingDirectory) + artifactName: CognitoFormsPlugin