@@ -14,58 +14,28 @@ jobs:
14
14
release :
15
15
name : Release
16
16
runs-on : ubuntu-latest
17
- steps :
18
- - uses : pnpm/action-setup@v2
19
- name : Install pnpm
20
- id : pnpm-install
21
- with :
22
- version : 7
23
- run_install : false
24
-
25
- - name : Get pnpm store directory
26
- id : pnpm-cache
27
- shell : bash
28
- run : |
29
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
30
-
31
- - uses : actions/cache@v3
32
- name : Setup pnpm cache
33
- with :
34
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
35
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36
- restore-keys : |
37
- ${{ runner.os }}-pnpm-store-
38
-
39
- - name : Checkout Repo
40
- uses : actions/checkout@master
41
- with :
42
- # This makes Actions fetch all Git history
43
- # so that Changesets can generate changelogs with the correct commits
44
- fetch-depth : 0
17
+ env :
18
+ NODE_OPTIONS : " --max-old-space-size=16384"
19
+ TURBO_TOKEN : ${{ secrets.TURBO_TOKEN }}
20
+ TURBO_TEAM : ${{ secrets.TURBO_TEAM }}
45
21
46
- - name : Use Node.js ${{ matrix.node-version }}
47
- uses : actions/setup-node@master
48
- with :
49
- node-version : 18
22
+ steps :
23
+ - name : Checkout branch
24
+ uses : actions/checkout@v3
50
25
51
- - name : Install dependencies
52
- if : steps.cache.outputs.cache-hit != 'true'
53
- run : pnpm install
26
+ - name : Install
27
+ uses : ./.github/composite-actions/install
54
28
55
29
- name : Lint types and code
56
30
run : pnpm lint
57
31
58
- - name : Build packages
59
- run : pnpm build
60
- env :
61
- NODE_OPTIONS : " --max-old-space-size=8192"
62
-
63
- - name : Run tests
32
+ - name : Run Component Tests
64
33
run : pnpm test:ci
65
34
env :
66
35
CI : true
67
36
68
- # TODO: Uncomment when ready to start testing RCs
37
+ - name : Build packages
38
+ run : pnpm build
69
39
70
40
- name : Setup CI Git User
71
41
run : |
0 commit comments