-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 760 Bytes
/
Copy pathci.yml
File metadata and controls
25 lines (23 loc) · 760 Bytes
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
name: ci
on:
push:
jobs:
main:
runs-on: ubuntu-latest
env:
VITE_CI: true
VITE_SUPABASE_API_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJ6b3JjeXhsc2h5anN5a2xvaWZ4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2NTUwOTg4NDksImV4cCI6MTk3MDY3NDg0OX0.qQka-Nfs-ZDxlRtiUofwA8iv05GNXQmPkeBk8cqag6s
VITE_SUPABASE_API_URL: https://bzorcyxlshyjsykloifx.supabase.co
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:affected
- run: npm run test:affected
- run: npm run stylelint:affected