-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 977 Bytes
/
ci-cd.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: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
# Supabase Setup
# - name: Make envfile
# uses: SpicyPizza/create-envfile@v1
# with:
# envkey_NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
# envkey_NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
# file_name: .env
- name: Install and Build
uses: actions/setup-node@v2
- run: yarn
- run: yarn lint
# Build, Export, Deploy
# - run: yarn build
# - run: yarn export
# env:
# CI: true
# DEPLOY_TARGET: gh-pages
# - run: touch out/.nojekyll
# - name: Deploy
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: out
# clean: true