Skip to content

Commit 4c5aa31

Browse files
authored
chore: remove old publishing stage (#761)
1 parent 298fec1 commit 4c5aa31

File tree

3 files changed

+2
-94
lines changed

3 files changed

+2
-94
lines changed

azure-pipelines.yml

-26
Original file line numberDiff line numberDiff line change
@@ -70,29 +70,3 @@ extends:
7070
displayName: 'Test'
7171
- script: npm run lint
7272
displayName: 'Lint'
73-
74-
- stage: Release
75-
dependsOn: Build
76-
jobs:
77-
- job: Release
78-
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
79-
# Output artifact to produce SBOM and to run SDL checks
80-
templateContext:
81-
outputs:
82-
- output: pipelineArtifact
83-
targetPath: $(Build.SourcesDirectory)
84-
artifactName: drop
85-
pool:
86-
name: 1es-oss-ubuntu-22.04-x64
87-
os: Linux
88-
steps:
89-
- task: NodeTool@0
90-
inputs:
91-
versionSpec: '20.x'
92-
displayName: 'Install Node.js'
93-
- script: |
94-
npm i
95-
displayName: 'Install dependencies and build'
96-
- script: |
97-
NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./scripts/publish.js
98-
displayName: 'Publish to npm'

publish.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: $(Date:yyyyMMdd)$(Rev:.r)
22

3+
pr: none
34
trigger:
45
branches:
5-
include:
6-
- main
7-
pr: none
6+
include: ["main"]
87

98
resources:
109
repositories:

scripts/publish.js

-65
This file was deleted.

0 commit comments

Comments
 (0)