Skip to content

refactor: rename utils to lib, fix api #9

refactor: rename utils to lib, fix api

refactor: rename utils to lib, fix api #9

Workflow file for this run

name: Deploy to Cloudflare Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deployment:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Install dependencies
run: |
pnpm i --frozen-lockfile --filter client --filter utils
- name: Build packages
run: |
pnpm --filter utils build && \
pnpm --filter client build
env:
VITE_API_URL: https://api.teemukoivisto.xyz/sveltekit-monorepo
- name: Build & test
uses: ./.github/actions/e2e
- name: Publish site to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: sveltekit-monorepo-template
directory: ./packages/client/build