Path aliases are a neat language feature #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: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'π§π»βπ» Checkout repository' | |
uses: actions/checkout@v4 | |
- name: 'π Set up Node.js' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '23' | |
- name: 'π¦ Install pnpm' | |
run: npm install -g pnpm | |
- name: 'π Install dependencies' | |
run: pnpm install | |
- name: 'π§ͺ Testing' | |
run: pnpm test | |
- name: 'π·π» Build the project' | |
run: pnpm run build | |
- name: 'π Deploy the project' | |
run: pnpm run deploy | |