Fix: Prevent ts-morph call stack errors with compiler options (#369) #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Packages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CI: true | |
| PNPM_CACHE_FOLDER: .pnpm-store | |
| jobs: | |
| release: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| with: | |
| # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
| fetch-depth: 0 | |
| # Needed to ensure we always use the atlas-dst-bot creds. | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: "package.json" | |
| - name: Setup pnpm config | |
| run: pnpm config set store-dir $PNPM_CACHE_FOLDER | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Create release PR or publish to npm | |
| uses: changesets/action@v1 | |
| with: | |
| createGithubReleases: false | |
| commit: "chore: update package versions" | |
| title: "Release packages" | |
| publish: pnpm ci:publish | |
| version: pnpm ci:version | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |