-
Notifications
You must be signed in to change notification settings - Fork 109
42 lines (33 loc) · 866 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
42
name: CI
on: [push, pull_request]
env:
DATABASE_URL: "https://fake.com"
AWS_ENDPOINT: "https://fake.com"
AWS_REGION: "us-east-005"
AWS_KEY_ID: "123"
AWS_SECRET_ACCESS_KEY: "123"
AWS_BUCKET_NAME: "123"
NEXTAUTH_URL: "http://localhost:3000/"
NEXTAUTH_SECRET: "5feaf48"
GOOGLE_CLIENT_ID: "abc"
GOOGLE_CLIENT_SECRET: "abc"
GITHUB_ID: "abc"
GITHUB_SECRET: "abc"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
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