chore: heygermany customer project
This commit is contained in:
45
.github/actions/setup-environment/action.yml
vendored
Normal file
45
.github/actions/setup-environment/action.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
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
|
||||
Reference in New Issue
Block a user