-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 827 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
DATABASE_URL: "https://fake.com"
NEXTAUTH_SECRET: "sxsas"
NEXTAUTH_URL: "http://localhost:3000"
DISCORD_CLIENT_ID: "asssa"
DISCORD_CLIENT_SECRET: "sass"
GITHUB_CLIENT_ID: "assasa"
GITHUB_CLIENT_SECRET: "sasasa"
GOOGLE_CLIENT_ID: "swswswq"
GOOGLE_CLIENT_SECRET: "swswswq"
CLOUDINARY_CLOUD_NAME: "Required"
CLOUDINARY_API_KEY: "Required"
CLOUDINARY_API_SECRET: "Required"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Print Environment Variable
run: echo $MY_ENV_VAR