diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 01d38a1..3c448ec 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -13,8 +13,13 @@ env: jobs: test: - runs-on: ubuntu-latest + runs-on: linux steps: + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Checkout uses: actions/checkout@v4 @@ -35,16 +40,10 @@ jobs: run: vendor/bin/phpunit build: - needs: test - runs-on: ubuntu-latest - if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) + runs-on: docker + #if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3