Skip to content

Commit

Permalink
create ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koremp committed Feb 26, 2024
1 parent 1df0370 commit 8fe5f9f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit 8fe5f9f

Please sign in to comment.