wip: Import from SQL #996
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke | |
on: | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i --frozen-lockfile | |
- name: Setup | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Lint | |
run: pnpm lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i --frozen-lockfile | |
- name: Setup | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Build | |
run: pnpm build | |
- name: Artifact - examples build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: examples-build | |
path: packages/examples/build | |
- name: Artifact - sandbox build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sandbox-build | |
path: packages/sandbox/dist | |
- name: Artifact - sandbox_simple build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sandbox_simple-build | |
path: packages/sandbox_simple/dist | |
check-hot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i --frozen-lockfile | |
- name: Setup | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Hot | |
run: pnpm check-hot | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i --frozen-lockfile | |
- name: Setup | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Test | |
run: pnpm test | |
- name: Artifact - coverage | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: packages/tests/coverage |