diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b967a1f..69520508 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,36 +1,31 @@ name: Typescript Client CI - on: push: branches: [ main ] pull_request: branches: [ main ] - jobs: build: 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 pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - name: Install dependencies run: pnpm install - name: Run lint run: pnpm run lint - name: Run build - run: pnpm run build - # - run: pnpm run test # TODO: add mock env for testing + run: pnpm run build \ No newline at end of file