Skip to content

Merge branch 'main' into feat/strapi-fields #501

Merge branch 'main' into feat/strapi-fields

Merge branch 'main' into feat/strapi-fields #501

Workflow file for this run

name: Build DEV
on:
push:
branches-ignore:
- "main"
jobs:
Build:
runs-on: ubuntu-latest
environment: DEV
strategy:
matrix:
project:
- web
- strapi
- api
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn
working-directory: ${{ matrix.project }}
- name: Set environment variables
env:
VITE_CLERK_PUBLISHABLE_KEY: "${{ secrets.VITE_CLERK_PUBLISHABLE_KEY }}"
run: echo "VITE_CLERK_PUBLISHABLE_KEY=${VITE_CLERK_PUBLISHABLE_KEY}" >> "$GITHUB_ENV"
- name: Run tests
run: yarn test
working-directory: ${{ matrix.project }}
if: matrix.project == 'web'
- name: Build
run: yarn build
working-directory: ${{ matrix.project }}