-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (44 loc) · 1.06 KB
/
check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build and check
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- main
env:
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
jobs:
checks:
name: Build and check
runs-on: ubuntu-latest
timeout-minutes: 10
env:
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Install Poetry
run: pipx install poetry
- name: Setup Node.js
uses: actions/[email protected]
with:
cache: yarn
node-version-file: .node-version
- name: Setup Python
uses: actions/[email protected]
with:
cache: poetry
python-version-file: .python-version
- name: Install Node.js dependencies
run: yarn install --immutable
- name: Build
run: yarn turbo run build
- name: Check
run: yarn turbo run check