Skip to content

Commit e39a3b1

Browse files
committed
wip
1 parent 98b5745 commit e39a3b1

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/deploy-signals-example-to-github-pages.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,26 @@ on:
99
jobs:
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

0 commit comments

Comments
 (0)