Publish #1
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: Publish | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: "package.json" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: "^9" | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build Packages | |
run: pnpm build | |
- name: Build Site | |
timeout-minutes: 15 | |
run: cd site && pnpm build | |
# - name: Publish Site | |
# Once the content has been built, you can find it in the `./site/dist` | |
# directory. Be aware that this directory could contain as many as 5000 | |
# files. You can tar it to better deliver content to the server. |