Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thsmi/sieve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.azure
diff options
context:
space:
mode:
authorThomas Schmid <thsmi@users.noreply.github.com>2021-11-14 23:11:22 +0300
committerGitHub <noreply@github.com>2021-11-14 23:11:22 +0300
commitf286486d6f4f0b6ceba7c36d40105e37f157d37e (patch)
treefa4fb92e1996dad8ab23e2eca2aeda7060011ae2 /.azure
parentfc9a75634a82edcd81a29ed53117e9d98f8a1af6 (diff)
Switch from yarn to npm (#660)
Switch from yarn to npm
Diffstat (limited to '.azure')
-rw-r--r--.azure/linux.yml14
-rw-r--r--.azure/macos.yml14
-rw-r--r--.azure/web.yaml14
-rw-r--r--.azure/web.yml42
-rw-r--r--.azure/windows.yml14
-rw-r--r--.azure/wx.yml14
6 files changed, 35 insertions, 77 deletions
diff --git a/.azure/linux.yml b/.azure/linux.yml
index 41d582de..6c18fe8a 100644
--- a/.azure/linux.yml
+++ b/.azure/linux.yml
@@ -14,16 +14,16 @@ jobs:
inputs:
versionSpec: '>=16.x'
- - script: yarn install
- displayName: Install Yarn
+ - script: npm install
+ displayName: "Install Dependencies"
- - script: yarn gulp "clean"
+ - script: npm run gulp clean
displayName: "Clean Workspace"
- - script: yarn lint
+ - script: npm run lint
displayName: "Running ESLint"
- - script: yarn test
+ - script: npm run test
displayName: "Running Unit Tests"
- task: PublishTestResults@2
@@ -31,7 +31,7 @@ jobs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/TEST-*.xml'
- - script: yarn gulp "app:zip-linux"
+ - script: npm run gulp "app:zip-linux"
displayName: "Package and Zip Linux Artifacts"
- task: CopyFiles@2
@@ -45,7 +45,7 @@ jobs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/app'
artifactName: "Zip - Linux Application"
- - script: yarn gulp "app:appimage-linux"
+ - script: npm run gulp "app:appimage-linux"
displayName: "Package AppImage Artifact"
- task: CopyFiles@2
diff --git a/.azure/macos.yml b/.azure/macos.yml
index fc189930..00b7f6fd 100644
--- a/.azure/macos.yml
+++ b/.azure/macos.yml
@@ -12,16 +12,16 @@ jobs:
inputs:
versionSpec: '>=16.x'
- - script: yarn install
- displayName: "Install Yarn"
+ - script: npm install
+ displayName: "Install Dependencies"
- - script: yarn gulp "clean"
+ - script: npm run gulp clean
displayName: "Clean Workspace"
- - script: yarn lint
+ - script: npm run lint
displayName: "Running ESLint"
- - script: yarn test
+ - script: npm run test
displayName: "Running Unit Tests"
- task: PublishTestResults@2
@@ -29,10 +29,10 @@ jobs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/TEST-*.xml'
- - script: yarn gulp "app:package-macos"
+ - script: npm run gulp "app:package-macos"
displayName: "Package macOS Artifacts"
- - script: yarn gulp "app:zip-macos"
+ - script: npm run gulp "app:zip-macos"
displayName: "Package and Zip macOS Artifacts"
- task: CopyFiles@2
diff --git a/.azure/web.yaml b/.azure/web.yaml
index d63d53f7..c139c142 100644
--- a/.azure/web.yaml
+++ b/.azure/web.yaml
@@ -8,21 +8,21 @@ jobs:
pool:
vmImage: 'ubuntu-latest'
steps:
-
+
- task: NodeTool@0
inputs:
versionSpec: '>=16.x'
- - script: yarn install
- displayName: "Install Yarn"
+ - script: npm install
+ displayName: "Install Dependencies"
- - script: yarn gulp "clean"
+ - script: npm run gulp clean
displayName: "Clean Workspace"
- - script: yarn lint
+ - script: npm run lint
displayName: "Running ESLint"
- - script: yarn test
+ - script: npm run test
displayName: "Running Unit Tests"
- task: PublishTestResults@2
@@ -30,7 +30,7 @@ jobs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/TEST-*.xml'
- - script: yarn gulp "web:package-zip"
+ - script: npm run gulp "web:package-zip"
displayName: "Package and Zip Web Application Artifact"
- task: CopyFiles@2
diff --git a/.azure/web.yml b/.azure/web.yml
deleted file mode 100644
index 107ca2d6..00000000
--- a/.azure/web.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# Node.js
-# Build a general Node.js project with npm.
-# Add steps that analyze code, save build artifacts, deploy, and more:
-# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
-
-jobs:
-- job: WebApplication
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: yarn install
- displayName: "Install Yarn"
-
- - script: yarn gulp "clean"
- displayName: "Clean Workspace"
-
- - script: yarn lint
- displayName: "Running ESLint"
-
- - script: yarn test
- displayName: "Running Unit Tests"
-
- - task: PublishTestResults@2
- inputs:
- testResultsFormat: 'JUnit'
- testResultsFiles: '**/TEST-*.xml'
-
- - script: yarn gulp "web:package-zip"
- displayName: "Package and Zip Web Application Artifact"
-
- - task: CopyFiles@2
- inputs:
- Contents: 'build/*'
- TargetFolder: '$(build.artifactstagingdirectory)'
- OverWrite: true
- CleanTargetFolder: true
-
- - task: PublishBuildArtifacts@1
- inputs:
- pathtoPublish: '$(Build.ArtifactStagingDirectory)/build'
- artifactName: "Zip - Web Application"
-
diff --git a/.azure/windows.yml b/.azure/windows.yml
index 4981cceb..b4004f1a 100644
--- a/.azure/windows.yml
+++ b/.azure/windows.yml
@@ -8,21 +8,21 @@ jobs:
pool:
vmImage: 'windows-latest'
steps:
-
+
- task: NodeTool@0
inputs:
versionSpec: '>=16.x'
- - script: yarn install
- displayName: "Install Yarn"
+ - script: npm install
+ displayName: "Install Dependencies"
- - script: yarn gulp "clean"
+ - script: npm run gulp "clean"
displayName: "Clean Workspace"
- - script: yarn lint
+ - script: npm run lint
displayName: "Running ESLint"
- - script: yarn test
+ - script: npm run test
displayName: "Running Unit Tests"
- task: PublishTestResults@2
@@ -30,7 +30,7 @@ jobs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/TEST-*.xml'
- - script: yarn gulp "app:zip-win32"
+ - script: npm run gulp "app:zip-win32"
displayName: "Package and Zip Windows Artifact"
- task: CopyFiles@2
diff --git a/.azure/wx.yml b/.azure/wx.yml
index 34c1fa36..9f19b62c 100644
--- a/.azure/wx.yml
+++ b/.azure/wx.yml
@@ -8,21 +8,21 @@ jobs:
pool:
vmImage: 'ubuntu-latest'
steps:
-
+
- task: NodeTool@0
inputs:
versionSpec: '>=16.x'
- - script: yarn install
- displayName: "Install Yarn"
+ - script: npm install
+ displayName: "Install Dependencies"
- - script: yarn gulp "clean"
+ - script: npm run gulp clean
displayName: "Clean Workspace"
- - script: yarn lint
+ - script: npm run lint
displayName: "Running ESLint"
- - script: yarn test
+ - script: npm run test
displayName: "Running Unit Tests"
- task: PublishTestResults@2
@@ -30,7 +30,7 @@ jobs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/TEST-*.xml'
- - script: yarn gulp "wx:package-xpi"
+ - script: npm run gulp "wx:package-xpi"
displayName: "Package and Zip WebExtension Artifact"
- task: CopyFiles@2