File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 deploy :
1111 runs-on : ubuntu-latest
12-
12+ strategy :
13+ matrix :
14+ node-version : [20.x]
1315 steps :
1416 - uses : actions/checkout@v3
15-
16- - name : Setup Node
17- uses : actions/setup-node@v3
17+ - uses : actions/setup-node@v3
1818 with :
19- node-version : ' 20.x '
19+ node-version : ${{ matrix.node-version }}
2020 cache : ' yarn'
21-
22- - name : Change Directory to signals-example
23- run : cd packages/signals/signals-example
24-
25- - name : Installing Dependencies
26- run : yarn install
27- working-directory : packages/signals/signals-example
28-
21+ - run : yarn install --immutable
22+ - name : Turbo cache
23+ uses : actions/cache@v3
24+ with :
25+ path : node_modules/.cache/turbo
26+ key : ${{ runner.os }}-turbo-${{ github.sha }}
27+ restore-keys : |
28+ ${{ runner.os }}-turbo-
29+ - run : yarn turbo run --filter='./packages/signals/signals-example' build
2930 - name : Building App
3031 run : yarn build
31- working-directory : packages/signals/signals-example
32-
3332 - name : Deploy with gh-pages
3433 run : |
3534 git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
You can’t perform that action at this time.
0 commit comments