Skip to content

Add Collection.values, fix editField and file return types, fix bad fields showing up in some searches #106

Add Collection.values, fix editField and file return types, fix bad fields showing up in some searches

Add Collection.values, fix editField and file return types, fix bad fields showing up in some searches #106

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
js-wrapper-test:
name: "Test JS wrapper"
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: lts/Hydrogen
cache: 'pnpm'
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Install developer dependencies
run: pnpm install
- name: Setup and run PHP server for API
run: pnpm run php_start
- name: Test da code
run: pnpm test
- name: Kill PHP server
run: pnpm run php_stop