Skip to content

Commit 4bed97d

Browse files
committed
fix: ci
1 parent e1f7b70 commit 4bed97d

File tree

2 files changed

+33
-26
lines changed

2 files changed

+33
-26
lines changed

.github/workflows/ci-components.yml

+18-15
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,23 @@ jobs:
3838
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
3939
with:
4040
node-version: ${{ env.NODE_VERSION }}
41-
cache: yarn
42-
cache-dependency-path: yarn.lock
43-
- name: Install Dependencies
44-
run: yarn install --immutable
41+
cache: pnpm
42+
cache-dependency-path: package-lock.json
43+
- name: Install PNPM
44+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
45+
with:
46+
run_install: true
4547
- name: Build Components
46-
run: yarn build
48+
run: pnpm build
4749
working-directory: packages/components
4850
- name: Lint Showcase
49-
run: yarn run lint
51+
run: pnpm run lint
5052
working-directory: showcase
5153
- name: Lint Components
52-
run: yarn run lint
54+
run: pnpm run lint
5355
working-directory: packages/components
5456
- name: Run Tests
55-
run: yarn run test:ember:percy
57+
run: pnpm run test:ember:percy
5658
working-directory: showcase
5759
env:
5860
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS }}
@@ -80,16 +82,17 @@ jobs:
8082
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
8183
with:
8284
node-version: ${{ env.NODE_VERSION }}
83-
cache: yarn
84-
cache-dependency-path: yarn.lock
85-
- name: Install Dependencies
86-
run: yarn install --immutable
85+
cache: pnpm
86+
cache-dependency-path: package-lock.json
87+
- name: Install PNPM
88+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
89+
with:
90+
run_install: true
8791
- name: Build Components
88-
run: yarn build
92+
run: pnpm build
8993
working-directory: packages/components
9094
- name: Run Tests
9195
working-directory: showcase
92-
run: yarn ember try:one ${{ matrix.try-scenario }}
96+
run: pnpm ember try:one ${{ matrix.try-scenario }}
9397
env:
9498
PERCY_ENABLE: 0
95-
YARN_ENABLE_IMMUTABLE_INSTALLS: false

.github/workflows/ci-website.yml

+15-11
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ jobs:
3939
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
4040
with:
4141
node-version: ${{ env.NODE_VERSION }}
42-
cache: yarn
43-
cache-dependency-path: yarn.lock
44-
- name: Install Dependencies
45-
run: yarn install --immutable
42+
cache: pnpm
43+
cache-dependency-path: package-lock.json
44+
- name: Install PNPM
45+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
46+
with:
47+
run_install: true
4648
- name: Lint
47-
run: yarn run lint
49+
run: pnpm run lint
4850
working-directory: website
4951

5052
test:
@@ -59,13 +61,15 @@ jobs:
5961
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
6062
with:
6163
node-version: ${{ env.NODE_VERSION }}
62-
cache: yarn
63-
cache-dependency-path: yarn.lock
64-
- name: Install Dependencies
65-
run: yarn install --immutable
64+
cache: pnpm
65+
cache-dependency-path: package-lock.json
66+
- name: Install PNPM
67+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
68+
with:
69+
run_install: true
6670
- name: Build Components
67-
run: yarn build
71+
run: pnpm build
6872
working-directory: packages/components
6973
- name: Run Tests
70-
run: yarn run test:ember
74+
run: pnpm run test:ember
7175
working-directory: website

0 commit comments

Comments
 (0)