mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-05 13:20:03 -06:00
* add first part of sync service * add actionClasses to js sync * fix errors, add product to sync * rewrite formbricks-js for new states and types * fix tests * fix build errors * add cors * fix cors errors and other bugs * comment test in checks until working again
38 lines
845 B
YAML
38 lines
845 B
YAML
name: Checks
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Node.js 18.x
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 18.x
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2.2.4
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --config.platform=linux --config.architecture=x64
|
|
|
|
- name: Build formbricks-js dependencies
|
|
run: pnpm build --filter=js
|
|
|
|
- name: create .env
|
|
run: cp .env.example .env
|
|
|
|
- name: Lint
|
|
run: pnpm lint
|
|
|
|
#- name: Test
|
|
# run: pnpm test
|