Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ extends:
- script: npm run build
displayName: 'Build project'
workingDirectory: '$(Build.SourcesDirectory)'

# excluding test for now since it requires a tenant and secrets to run
# TODO: create secrets to the pipeline similar to https://github.com/microsoftgraph/msgraph-sdk-typescript/settings/secrets/actions and the build.yml file
# - script: npm run test
# displayName: 'Run tests'
# workingDirectory: '$(Build.SourcesDirectory)'


- task: PowerShell@2
displayName: 'Copy README.md to packages'
inputs:
Expand Down
23 changes: 1 addition & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,4 @@ jobs:
run: exit 0
- name: One or more build matrix options failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

publish-npm:
if: startsWith(github.ref, 'refs/tags/')
needs: build
environment:
name: production_feed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Copy README.md to packages
shell: pwsh
run: ./scripts/copy-readme.ps1
- run: npm ci
- run: npm run build
- run: npx lerna publish from-package --no-push --yes
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
run: exit 1
Loading