diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 659a344b..6d5ae075 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,18 +13,23 @@ jobs: token: ${{ secrets.API_TOKEN_GITHUB }} - uses: oven-sh/setup-bun@v1 + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install with: - version: 8.6.3 - run_install: false + version: 8.12.1 + run_install: true - - name: Install dependencies - run: pnpm install + - uses: Install turbo globally + run: pnpm install -g turbo - name: Build packages - run: pnpm run build + run: pnpm turbo run build - name: Apply version changes to packages run: pnpm run changeset:version diff --git a/.gitignore b/.gitignore index f59da2e4..6c3ddd41 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ coverage/ packages/api/preserve/** .turbo -pnpm-*.yaml +pnpm-lock.yaml *.tsbuildinfo *.log *.env diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..92571cec --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,5 @@ +packages: + - "packages/**" + - "services/**" + - "apps/**" + - "!packages/create-guilded-app/templates/**" \ No newline at end of file