Skip to content

Fix form-data-backend docs for installation and replace deprecated set-output command #3

Fix form-data-backend docs for installation and replace deprecated set-output command

Fix form-data-backend docs for installation and replace deprecated set-output command #3

Workflow file for this run

name: Build Packages
on:
pull_request:
branches:
- main
jobs:
generate_matrix:
name: Find services
runs-on: ubuntu-latest
outputs:
folders: ${{ steps.generate_matrix.outputs.folders }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate matrix
id: generate_matrix
shell: bash
run: |
cd ./packages
folders=$(tree -J -d -L 1 | jq -c '.[0].contents | map(.name)')
echo $folders
echo "folders=$folders" >> $GITHUB_OUTPUT
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
needs: [ generate_matrix ]
strategy:
matrix:
folder: ${{ fromJson(needs.generate_matrix.outputs.folders) }}
defaults:
run:
working-directory: ./packages/${{ matrix.folder }}
steps:
-
name: Checkout repository
uses: actions/checkout@v3
-
name: Install dependencies
run: yarn install --frozen-lockfile
-
name: Build TypeScript
run: yarn tsc
-
name: Build packages
run: yarn build