feat: add template command at create-obsidian-blogger #150
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: CI | |
on: | |
push: | |
branches: ['**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout | |
- uses: actions/setup-node@v3 | |
name: Setup Node.js | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v4 | |
name: Setup PNPM | |
with: | |
# Skip the default install so we can do our own | |
run_install: false | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Format checking | |
run: pnpm prettier && pnpm eslint | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test |