Skip to content

Fix: Prevent ts-morph call stack errors with compiler options (#369) #13

Fix: Prevent ts-morph call stack errors with compiler options (#369)

Fix: Prevent ts-morph call stack errors with compiler options (#369) #13

Workflow file for this run

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 }}