Skip to content

Merge pull request #204 from gaboe/renovate/typescript-5.x-lockfile #234

Merge pull request #204 from gaboe/renovate/typescript-5.x-lockfile

Merge pull request #204 from gaboe/renovate/typescript-5.x-lockfile #234

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Publish Docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
# You may pin to the exact commit or the version.
# uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
uses: pnpm/[email protected]
# with:
# Version of pnpm to install
#version: # optional
# Where to store pnpm files
#dest: # optional, default is ~/setup-pnpm
# If specified, run `pnpm install`
#run_install: # optional, default is null
# File path to the package.json to read "packageManager" configuration
#package_json_file: # optional, default is package.json
# When set to true, @pnpm/exe, which is a Node.js bundled package, will be installed, enabling using pnpm without Node.js.
#standalone: # optional, default is false
- name: Install dependencies
run: pnpm install
- name: Build
run: cd apps/docs && pnpm build
# 👆 Build steps
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# 👇 Specify build output path
path: ./apps/docs/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4