Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 6205afd

Browse files
committed
ci: update release job
1 parent 4328b57 commit 6205afd

File tree

1 file changed

+12
-42
lines changed

1 file changed

+12
-42
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,58 +14,28 @@ jobs:
1414
release:
1515
name: Release
1616
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 }}
4521

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
5025

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
5428

5529
- name: Lint types and code
5630
run: pnpm lint
5731

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
6433
run: pnpm test:ci
6534
env:
6635
CI: true
6736

68-
# TODO: Uncomment when ready to start testing RCs
37+
- name: Build packages
38+
run: pnpm build
6939

7040
- name: Setup CI Git User
7141
run: |

0 commit comments

Comments
 (0)