diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 039dc3f5..5354a93c 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -17,25 +17,20 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '7.4' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '12' - - name: Install Node dependencies - uses: bahmutov/npm-install@v1 + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - - name: Remove dev depencencies - run: | - rm -rf vendor - composer install --no-dev --no-progress + with + composer-options: "--no-dev" - name: Build static assets run: yarn build:production - name: Create build dir