🍱 Add Bento DS #275
Workflow file for this run
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 | |
on: [push, pull_request] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- name: build | |
env: | |
NEXT_PUBLIC_SITE_CONFIG: ${{ secrets.NEXT_PUBLIC_SITE_CONFIG }} | |
NOTION_ACTIVE_USER: ${{ secrets.NOTION_ACTIVE_USER }} | |
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }} | |
NOTION_REGISTER_OF_MEMBERS_DATABASE_ID: ${{ secrets.NOTION_REGISTER_OF_MEMBERS_DATABASE_ID }} | |
NOTION_TOKEN_V2: ${{ secrets.NOTION_TOKEN_V2 }} | |
# TODO Enable those lines below if you use a Redis cache, you'll also need to configure GitHub Repository Secrets | |
# REDIS_HOST: ${{ secrets.REDIS_HOST }} | |
# REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }} | |
run: pnpm build |