Files
heygermany-e2e-mrg1d1zl/.github/actions/setup-environment/action.yml
e2e 59b4a7a404
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled
chore: heygermany customer project
2026-07-11 09:21:21 +02:00

46 lines
1.2 KiB
YAML

name: 'Setup Environment'
description: 'Setup environment for the project'
runs:
using: 'composite'
steps:
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache bun install
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
node_modules/.cache
key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }}
- run: bun install --frozen-lockfile
shell: bash
- run: bun run prebuild
shell: bash
- name: List generated files
shell: bash
run: |
echo "Listing .gen.ts and .gen.d.ts files:"
find . -name "*.gen.ts" -o -name "*.gen.d.ts"
- name: Save generated types
uses: actions/upload-artifact@v4
with:
name: generated-code
path: |
${{ github.workspace }}/packages/functions/.pikku
${{ github.workspace }}/packages/sdk/.generated
${{ github.workspace }}/packages/sdk/.pikku
${{ github.workspace }}/apps/website/pikku/*
${{ github.workspace }}/apps/website/public/locales
${{ github.workspace }}/apps/website/public/locales/*
include-hidden-files: true