microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-8243

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

37lines · modecode

1name: CI
2
3on:
4 pull_request:
5 branches:
6 - main
7 - release/*
8 paths-ignore:
9 - "packages/http-client-csharp/**"
10 - "packages/http-client-java/**"
11 - "packages/http-client-python/**"
12 - "website/**"
13concurrency:
14 group: ${{ github.workflow }}-${{ github.ref }}
15 cancel-in-progress: true
16
17jobs:
18 preview:
19 runs-on: ubuntu-latest
20
21 steps:
22 - uses: actions/checkout@v4
23 with:
24 fetch-depth: 0 ## Needed for Changesets to find `main` branch
25
26 - uses: ./.github/actions/setup
27
28 - name: Install dependencies
29 run: pnpm install
30
31 - name: Build
32 run: pnpm run --filter "internal-build-utils" --filter "[origin/main]..." --filter='!@typespec/website' build
33
34 - name: Bump version to prerelease targets
35 run: node ./packages/internal-build-utils/cmd/cli.js bump-version-pr . --pr ${{ github.event.pull_request.number }} --buildNumber ${{ github.run_number }}
36
37 - run: pnpm tsx eng/tsp-core/pkg-pr-new.ts
38