From da050d0147cba5ac02318b05553fa37a8771773b Mon Sep 17 00:00:00 2001 From: aryan Date: Sun, 5 Jan 2025 18:27:05 +0530 Subject: [PATCH 1/2] rm explcitiy cache --- .github/workflows/build.yml | 48 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6952050..2c836bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,31 +1,29 @@ -name: Typescript Client CI +name: ci on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: - build: + check: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [22.x] steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - cache-dependency-path: pnpm-lock.json - - name: Install dependencies - run: pnpm install - - name: Run lint - run: pnpm run lint - - name: Run build - run: pnpm run build \ No newline at end of file + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3 + with: + version: 9.4.0 + + - uses: actions/setup-node@v4 + with: + node-version: "23" + cache: "pnpm" + + - name: Install dependencies + run: pnpm install -r --no-frozen-lockfile + + - name: Run lint + run: pnpm run lint + + - name: Build packages + run: pnpm run build \ No newline at end of file From 07d058e6e7fcb3d197311d53f73ab2d879cbed76 Mon Sep 17 00:00:00 2001 From: aryan Date: Sun, 5 Jan 2025 18:29:59 +0530 Subject: [PATCH 2/2] lint fix --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c836bf..c862186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,9 +21,9 @@ jobs: - name: Install dependencies run: pnpm install -r --no-frozen-lockfile - - - name: Run lint - run: pnpm run lint + + - name: Run lint and fix + run: pnpm run lint:fix - name: Build packages - run: pnpm run build \ No newline at end of file + run: pnpm run build