Fixes #722
Workflow file for this run
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@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i | |
- 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@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i | |
- 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@v3 | |
with: | |
name: examples-build | |
path: packages/examples/build | |
- name: Artifact - sandbox build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sandbox-build | |
path: packages/sandbox/dist | |
- name: Artifact - sandbox_simple build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sandbox_simple-build | |
path: packages/sandbox_simple/dist | |
check-hot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i | |
- 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@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm i | |
- 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@v3 | |
with: | |
name: coverage | |
path: packages/tests/coverage |