Skip to content

Commit

Permalink
chore: remove yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Oct 27, 2023
1 parent f22c840 commit ad19ab5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16,235 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
npm-debug.log
# package-lock.json
# yarn.lock
yarn.lock
yarn-error.log
/coverage
/coverage-report
Expand Down
37 changes: 14 additions & 23 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,26 @@ pool:
stages:
- stage: env
jobs:
- job: Init
- job: Nodes
steps:
- task: NodeTool@0
displayName: 'Install Node.js'
inputs:
versionSpec: '18.10.0'
- script: |
node --version
yarn --version
yarn config list
yarn install
- task: Cache@2
displayName: Cache Yarn packages
inputs:
key: '"yarn" | "$(Agent.OS)" | yarn.lock'
restoreKeys: |
"yarn" | "$(Agent.OS)"
"yarn"
path: $(YARN_CACHE_FOLDER)
displayName: 'Install Node.js'

- stage: build
dependsOn: env
jobs:
- job: build
steps:
- task: NodeTool@0
inputs:
versionSpec: '18.10.0'
displayName: 'Install Node.js'
- script: yarn --frozen-lockfile
- script: |
node --version
yarn --version
yarn config list
yarn install
displayName: 'Install'
- task: Bash@3
env:
Expand Down Expand Up @@ -82,21 +72,21 @@ stages:
displayName: 'Checkout'
clean: true
fetchDepth: 1
- script: yarn --frozen-lockfile
- script: yarn install
displayName: 'Install modules'
- script: |
node ./scripts/azure/github-comment.js "[Preview Failed](https://dev.azure.com/ng-alain/delon/_build/results?buildId=$(Build.BuildId))"
displayName: 'Comment on github'
env:
ACCESS_REPO: $(ACCESS_REPO)
ACCESS_TOKEN: $(ACCESS_TOKEN)
dependsOn: env

- stage: test
dependsOn: env
jobs:
- job: packages
steps:
- script: yarn --frozen-lockfile
- script: yarn install
displayName: 'Install'
- script: |
yarn run test
Expand Down Expand Up @@ -124,15 +114,16 @@ stages:
testResultsFiles: '**/TESTS*.xml'
- job: cli
steps:
- script: yarn --frozen-lockfile
- script: yarn install
displayName: 'Install'
- script: yarn run test:cli
dependsOn: env

- stage: lint
dependsOn: env
jobs:
- job: packages
steps:
- script: yarn --frozen-lockfile
- script: yarn install
displayName: 'Install'
- script: yarn run lint
dependsOn: env
Loading

0 comments on commit ad19ab5

Please sign in to comment.