Skip to content

Merge pull request #9 from crashmax-dev/feat/weird-bugs #71

Merge pull request #9 from crashmax-dev/feat/weird-bugs

Merge pull request #9 from crashmax-dev/feat/weird-bugs #71

Workflow file for this run

name: CI
on:
push:
branches:
- master
permissions:
id-token: write
contents: write
env:
TURBO_TELEMETRY_DISABLED: 1
jobs:
cache-and-install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup turborepo cache
uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build apps and packages
run: pnpm build
- name: Copy artifacts
run: |
mkdir -p dist/histoire
touch dist/.nojekyll
cp -r packages/ui/dist/* dist/histoire
cp -r apps/vue/dist/* dist
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: dist