Skip to content

Shared/persistent data management #87

Shared/persistent data management

Shared/persistent data management #87

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 21
# cache: 'npm'
# - name: Set npm mirror
# run: npm config set registry https://npmjs.cf/
- name: Install modules
run: npm i
- name: Build app
run: npx turbo run build
build-saas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 21
# cache: 'npm'
# - name: Set npm mirror
# run: npm config set registry https://npmjs.cf/
- name: Install modules
run: npm i
- name: Build app
run: npx turbo run build-saas
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 21
# cache: 'npm'
# - name: Set npm mirror
# run: npm config set registry https://npmjs.cf/
- name: Install modules
run: npm i
- name: Check Types
run: npx turbo run check-types
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 21
# cache: 'npm'
# - name: Set npm mirror
# run: npm config set registry https://npmjs.cf/
- name: Install modules
run: npm i
- name: Run eslint
run: npx turbo run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 21
# cache: 'npm'
# - name: Set npm mirror
# run: npm config set registry https://npmjs.cf/
- name: Install modules
run: npm i
- name: Run tests
run: npx turbo run test