Skip to content

Commit

Permalink
Merge pull request #2 from tuatmcc/feat/ci
Browse files Browse the repository at this point in the history
feat: CI追加
  • Loading branch information
OJII3 authored Sep 15, 2024
2 parents 12286d9 + 6ee1998 commit 5c61634
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Check
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4

- name: Setup | Node.js
uses: actions/setup-node@v3
with:
node-version: 20
# node-version-file: .nvmrc

- name: Setup | Node Modules
run: npm ci

- name: Run | Lint
run: npm run lint

# build:
# runs-on: ubuntu-latest
# steps:
# - name: Setup | Checkout
# uses: actions/checkout@v4
#
# - name: Setup | Node.js
# uses: shun-shobon/actions/setup-node@master
# with:
# node-version-file: .nvmrc

- name: Run | Build
run: npm run build
env:
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}

0 comments on commit 5c61634

Please sign in to comment.