Skip to content

feat: CI追加

feat: CI追加 #1

Workflow file for this run

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: 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 }}