From 8fe5f9f26f6ad99c01f46efd3ebff5b6062b1d03 Mon Sep 17 00:00:00 2001 From: Dokyun Claire Lim Date: Tue, 27 Feb 2024 07:22:23 +0900 Subject: [PATCH] create ci-cd.yml --- .github/workflows/ci-cd.yml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/ci-cd.yml diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml new file mode 100644 index 0000000..d3741c3 --- /dev/null +++ b/.github/workflows/ci-cd.yml @@ -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/github-pages-deploy-action@4.1.5 + # with: + # branch: gh-pages + # folder: out + # clean: true \ No newline at end of file