name: CI on: push: branches: - canary pull_request: concurrency: group: '${{ github.workflow }}-${{ github.event.number || github.sha }}' cancel-in-progress: true jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 with: version: 8 - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' - run: pnpm -r install --frozen-lockfile - run: pnpm --if-present format:check - run: pnpm --if-present lint image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.PRIVATE_TOKEN }} - name: Build image uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: false