chore: update packageManager field #13
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: Deploy Site | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy-site: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
run: corepack enable | |
- name: Set node version to 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Build site | |
run: pnpm build | |
- name: Deploy site | |
uses: JamesIves/github-pages-deploy-action@4.1.1 | |
with: | |
branch: gh-page | |
folder: dist |