diff --git a/.github/actions/setup-bun-and-deps/action.yml b/.github/actions/setup-bun-and-deps/action.yml index fdc80ab..d68a6a3 100644 --- a/.github/actions/setup-bun-and-deps/action.yml +++ b/.github/actions/setup-bun-and-deps/action.yml @@ -27,8 +27,15 @@ runs: with: bun-version: ${{ inputs.bun-version }} + - name: Show Versions + run: | + echo "Bun version:" $(bun --version) + echo "Node version:" $(node --version) + echo "Working directory: $(pwd)" + shell: bash + - name: Install Dependencies - run: bun install --frozen-lockfile + run: bun install --frozen-lockfile --no-progress shell: bash - name: Check Format diff --git a/.github/workflows/ci-bun.yml b/.github/workflows/ci-bun.yml index d11567f..b3d4d4e 100644 --- a/.github/workflows/ci-bun.yml +++ b/.github/workflows/ci-bun.yml @@ -1,5 +1,5 @@ # TLDR: GitHub Actions workflow for CI using Bun runtime and package manager -name: CI (Bun) +name: CI on: push: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index a398911..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,86 +0,0 @@ -# TLDR: GitHub Actions workflow for Continuous Integration. Runs on push/PR, installs, lints, tests, builds, and handles releases (mixd-v0) -name: CI - -on: - push: - branches: [main, next] - pull_request: - branches: [main, next] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - build_and_test: - name: Build and Test - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 9 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 18.x - cache: 'pnpm' - - - name: Install Dependencies - run: pnpm install --frozen-lockfile - - - name: Lint - run: pnpm turbo lint - - - name: Test - run: pnpm turbo test - - - name: Build - run: pnpm turbo build - - release: - name: Release - runs-on: ubuntu-latest - needs: build_and_test - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 9 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 18.x - cache: 'pnpm' - - - name: Install Dependencies - run: pnpm install --frozen-lockfile - - - name: Lint - run: pnpm turbo lint - - name: Test - run: pnpm turbo test - - name: Build - run: pnpm turbo build - - - name: Create Release Pull Request or Publish - id: changesets - uses: changesets/action@v1 - with: - publish: pnpm run release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/tsconfig.json b/tsconfig.json index e36259e..cfda6e2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,5 +4,11 @@ "noEmit": true }, "include": ["packages/*/src/**/*"], - "exclude": ["node_modules", "**/dist", "**/coverage", "**/*.spec.ts", "**/__tests__"] -} \ No newline at end of file + "exclude": [ + "node_modules", + "**/dist", + "**/coverage", + "**/*.spec.ts", + "**/__tests__" + ] +}