diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index befe976..8b7e580 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,37 +19,6 @@ permissions: pull-requests: read jobs: - docker: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ubuntu-latest] - node: ['20.9.0'] - - name: "Docker: ${{ matrix.os }}" - - env: - DOCKER_BUILDKIT: 1 - COMPOSE_DOCKER_CLI_BUILD: 1 - CI: 1 - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Cache pnpm modules - uses: actions/cache@v4 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node }}-node- - - - name: Build Docker pnpm image - run: docker buildx build -f Dockerfile.pnpm --build-arg NODE_VERSION="${{ matrix.node }}" ./packages -t pnpm - build: runs-on: ${{ matrix.os }} @@ -69,13 +38,10 @@ jobs: - uses: actions/checkout@v4 - - name: Cache pnpm modules - uses: actions/cache@v4 + - uses: actions/setup-node@v4 with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node }}-node- + node-version: 20 + cache: 'pnpm' - name: Install dependencies run: pnpm i