fix(app-version): Null-check Embroider macro config (#339) #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs: | |
name: Build and publish docs | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Restore dependency cache | |
id: cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: ~/.local/share/pnpm/store | |
key: node-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
node- | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Build App | |
run: pnpm run build-docs | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
folder: apps/docs-app/dist | |
- name: Save dependency cache | |
uses: actions/cache/save@v4 | |
if: always() && steps.cache.outputs.cache-hit != 'true' | |
with: | |
path: ~/.local/share/pnpm/store | |
key: node-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
node- |