chore: Use yarn workspaces & add Turborepo #1662
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: "Run tests" | |
on: | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
run_tests: | |
name: Run integration tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Activate corepack | |
run: | | |
corepack install | |
corepack enable | |
- name: Install dependencies | |
run: yarn --immutable | |
- name: Run tests | |
run: yarn turbo test |