Merge branch 'main' into renovate-updates #121
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: Build CI | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
- 'renovate/**' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Setting up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Pull environment variables | |
run: | | |
pnpm vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} | |
pnpm vercel env pull .env --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Lint | |
run: pnpm lint | |
- name: Building | |
run: pnpm build |