Skip to content

update env.example #1289

update env.example

update env.example #1289

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
ci:
name: 🔄 CI Workflow
runs-on: [ubuntu-latest]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-node@v4
with:
node-version: 22.x
- uses: pnpm/action-setup@v4
- name: setup pnpm store cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: 📦 Install dependencies
run: pnpm i
- name: 🛠 Build
run: pnpm build
- name: 💪 Lint
run: pnpm lint
- name: 💼 Type Check
run: pnpm tsc
# - name: 🧪 Test
# env:
# CI: true
# run: pnpm test