Skip to content

Commit

Permalink
use npm instead of yarn, cleanup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jun 7, 2021
1 parent 1587b4f commit 38e1f13
Show file tree
Hide file tree
Showing 4 changed files with 410 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"tasks": [
{
"type": "npm",
"script": "watch",
"script": "watch:build",
"problemMatcher": ["$tsc-watch"],
"group": {
"kind": "build",
Expand Down
10 changes: 3 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ steps:
inputs:
versionSpec: '10.x'

- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
inputs:
versionSpec: '1.x'

- script: yarn
- script: npm install
displayName: Install Dependencies

- script: yarn test
- script: npm run test
displayName: Run Tests

- script: yarn build
- script: npm run build
displayName: Build

- task: Npm@1
Expand Down
Loading

0 comments on commit 38e1f13

Please # to comment.