diff --git a/.azure-pipelines/release.yml b/.azure-pipelines/release.yml index ee985344635..ea016c23810 100644 --- a/.azure-pipelines/release.yml +++ b/.azure-pipelines/release.yml @@ -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: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4db8ad9e8ea..a8b404fa339 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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}} \ No newline at end of file + run: exit 1 \ No newline at end of file