Skip to content

Bump meilisearch from 0.33.0 to 0.34.1 in /playground #1476

Bump meilisearch from 0.33.0 to 0.34.1 in /playground

Bump meilisearch from 0.33.0 to 0.34.1 in /playground #1476

Workflow file for this run

name: Tests
on:
pull_request:
push:
# trying and staging branches are for BORS config
branches:
- trying
- staging
- main
jobs:
integration_tests:
# Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)
# Will still run for each push to bump-meilisearch-v*
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
runs-on: ubuntu-latest
strategy:
matrix:
# Strapi is not yet compatible with node 16
node: ['14', '16']
name: integration-tests (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
./node_modules
key: ${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Launch tests
run: yarn test
playground_build_tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16']
name: playground-build (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
./node_modules
key: ${{ hashFiles('yarn.lock') }}
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
./playground/node_modules
key: ${{ hashFiles('playground/yarn.lock') }}
- name: Install dependencies
run: yarn --dev && yarn --cwd ./playground
- name: Build Strapi playground
run: yarn playground:build
linter_check:
runs-on: ubuntu-latest
name: style-check
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '14.x'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
./node_modules
key: ${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn --dev
- name: Run style check
run: yarn style
- name: Yaml Style
uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yml