feat: plainstack #733
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: ci π | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout code π₯ | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.29 | |
- name: install dependencies π§ | |
run: bun install | |
- name: migrate β | |
run: | | |
timeout_cmd="" | |
if [ "$RUNNER_OS" == "Windows" ]; then | |
timeout_cmd="timeout 3" | |
else | |
timeout_cmd="timeout 3s" | |
fi | |
$timeout_cmd bun run example/0-todo.tsx || true | |
shell: bash | |
- name: build β | |
run: bun run build | |
- name: test β | |
run: bun test |