Skip to content

add pnpm lock

add pnpm lock #53

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Test ${{ matrix.php }} - ${{ matrix.testbench }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2, 8.3, 8.4]
testbench: [7.*, 8.*, 9.*, 10.*]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Install composer dependencies
run: |
composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Test
run: ./vendor/bin/pest