✏️ Fix the website path #7
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, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
runs-on: ${{ matrix.operating-system }} | |
defaults: | |
run: | |
working-directory: ./website | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
node-version: [20.13] | |
pnpm-version: [9.1] | |
name: 🧪 CI Abi's website on Node@${{ matrix.node-version }}-${{ matrix.operating-system }} | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v4 | |
- name: 🎉 Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: ✨ Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: ${{ matrix.pnpm-version }} | |
- name: ⚡️ Install dependencies | |
run: pnpm install | |
- name: ✅ Check types | |
run: pnpm check | |
- name: 🍱 Build assets | |
run: pnpm build | |