Convert latest post to Markdoc #1364
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: ['main'] | |
pull_request: | |
branches: ['main'] | |
# With pre-rendering enabled, build loads modules, which triggers imports. | |
# These variables are just dummies that need to exist while build and check run. | |
env: | |
EO_API_KEY: ${{ secrets.EO_API_KEY }} | |
EO_LIST_ID: ${{ secrets.EO_LIST_ID }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PUBLIC_CANONICAL_ORIGIN: ${{ secrets.PUBLIC_CANONICAL_ORIGIN }} | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm run lint | |
- run: pnpm run check | |
# - name: Install Playwright Chromium | |
# run: npx playwright install --with-deps chromium | |
# - name: Run Playwright tests | |
# run: npx turbo run test |