Skip to content

prepare for release #83

prepare for release

prepare for release #83

Workflow file for this run

name: main CI workflows
on: push
jobs:
ci:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_REPO_CACHE_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_REPO_CACHE_TEAM }}
steps:
- name: 📥 Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: 📥 Install dependencies
uses: ./.github/actions/pnpm
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: 📥 Install global dependencies
shell: sh
run: pnpm install -g concurrently wait-on turbo@latest
- name: turbo
run: turbo test build typecheck
shell: sh
# - name: run rust
# run: ./ci/rust.sh
# shell: bash
# - name: storybook tests
# if: always()
# run: ./ci/test-sb.sh
# shell: bash
# - name: backend integration test
# if: always()
# run: ./ci/test-be.sh
# shell: sh
# - name: run end-to-end test
# if: always()
# run: ./ci/test-e2e.sh
# shell: bash
# - name: file changes
# run: '[ $(git diff --name-only HEAD^ HEAD | wc -l) -ne 0 ] && echo there are some changes || echo no changes'
# shell: bash
# if: always()
# - name: clean up
# run: docker compose down
# shell: sh
# if: always()
# chromatic:
# runs-on: ubuntu-latest
# steps:
# - name: 📥 Checkout
# uses: actions/checkout@v2
# - name: 📥 Install dependencies
# uses: ./.github/actions/pnpm
# - run: turbo --filter ui build
# - name: chromatic
# uses: chromaui/action@v1
# with:
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# token: ${{ secrets.GITHUB_TOKEN }}
# storybookBuildDir: pkgs/ui/storybook-static
# - name: 📤 Upload e2e report
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: e2e-report
# path: __tests__/e2e/playwright-report/
# retention-days: 20