Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,40 @@
name: CI

on: [push, pull_request]
on:
push:
branches: [main]
pull_request:

env:
DATABASE_URL: "https://fake.com"
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
Comment thread
t3dotgg marked this conversation as resolved.
with:
node-version: 24
cache: pnpm

- name: Install Dependencies
run: npm install -g pnpm && pnpm install
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Typecheck
run: pnpm typecheck

- name: Lint
run: pnpm lint

- name: Print Environment Variable
run: echo $MY_ENV_VAR
- name: Test
run: pnpm test

- name: Build
run: pnpm build
4 changes: 0 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ const nextConfig = {
{ protocol: "https", hostname: "vod-secure.twitch.tv" },
],
},

typescript: {
ignoreBuildErrors: true,
},
};

const withMdx = require("@next/mdx")()(nextConfig);
Expand Down
Loading