diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58358308..039dea04 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,15 +12,27 @@ jobs: with: 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.12.1 + run_install: true - - name: Install dependencies - run: bun install + - name: Install turbo globally + run: pnpm install -g turbo - name: Build packages - run: bun run build + run: rm bun.lockb && pnpm turbo run build - name: Apply version changes to packages - run: bun run changeset:version + run: pnpm run changeset:version - name: Commit package.json changes uses: EndBug/add-and-commit@v9 @@ -31,7 +43,7 @@ jobs: push: true - name: Recursive Release - run: bun turbo run release --continue + run: pnpm recursive publish env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 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/bun.lockb b/bun.lockb deleted file mode 100755 index 7e2f6e5b..00000000 Binary files a/bun.lockb and /dev/null differ 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