Skip to content

Merge pull request #11 from bitfreee/feat/optimize-image #21

Merge pull request #11 from bitfreee/feat/optimize-image

Merge pull request #11 from bitfreee/feat/optimize-image #21

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
# fake env variables to bypass env check
env:
NEXT_PUBLIC_APP_URL: "https://fake.com"
NEXT_PUBLIC_TMDB_TOKEN: "fake-token"
NEXT_PUBLIC_SITE_NAME: "fake-name"
NEXT_PUBLIC_IMAGE_DOMAIN: "fake-domain"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Print Environment Variable
run: echo $MY_ENV_VAR