Skip to content

build: update ci for algolia #111

build: update ci for algolia

build: update ci for algolia #111

Workflow file for this run

name: Simple Node js CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
env:
APP_ID: ${{ secrets.APP_ID }}
API_KEY: ${{ secrets.API_KEY }}
INDEX_NAME: ${{ secrets.INDEX_NAME }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
working-directory: ./
- name: Build project
run: yarn build
working-directory: ./