Skip to content

Commit 082301d

Browse files
committedJan 25, 2025
fix: ci
1 parent e1f7b70 commit 082301d

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed
 

‎.github/workflows/ci-components.yml

+14-15
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ 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
4545
- name: Build Components
46-
run: yarn build
46+
run: pnpm build
4747
working-directory: packages/components
4848
- name: Lint Showcase
49-
run: yarn run lint
49+
run: pnpm run lint
5050
working-directory: showcase
5151
- name: Lint Components
52-
run: yarn run lint
52+
run: pnpm run lint
5353
working-directory: packages/components
5454
- name: Run Tests
55-
run: yarn run test:ember:percy
55+
run: pnpm run test:ember:percy
5656
working-directory: showcase
5757
env:
5858
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS }}
@@ -80,16 +80,15 @@ jobs:
8080
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
8181
with:
8282
node-version: ${{ env.NODE_VERSION }}
83-
cache: yarn
84-
cache-dependency-path: yarn.lock
85-
- name: Install Dependencies
86-
run: yarn install --immutable
83+
cache: pnpm
84+
cache-dependency-path: package-lock.json
85+
- name: Install PNPM
86+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
8787
- name: Build Components
88-
run: yarn build
88+
run: pnpm build
8989
working-directory: packages/components
9090
- name: Run Tests
9191
working-directory: showcase
92-
run: yarn ember try:one ${{ matrix.try-scenario }}
92+
run: pnpm ember try:one ${{ matrix.try-scenario }}
9393
env:
9494
PERCY_ENABLE: 0
95-
YARN_ENABLE_IMMUTABLE_INSTALLS: false

‎.github/workflows/ci-website.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ 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
4646
- name: Lint
47-
run: yarn run lint
47+
run: pnpm run lint
4848
working-directory: website
4949

5050
test:
@@ -59,13 +59,13 @@ jobs:
5959
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
6060
with:
6161
node-version: ${{ env.NODE_VERSION }}
62-
cache: yarn
63-
cache-dependency-path: yarn.lock
64-
- name: Install Dependencies
65-
run: yarn install --immutable
62+
cache: pnpm
63+
cache-dependency-path: package-lock.json
64+
- name: Install PNPM
65+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
6666
- name: Build Components
67-
run: yarn build
67+
run: pnpm build
6868
working-directory: packages/components
6969
- name: Run Tests
70-
run: yarn run test:ember
70+
run: pnpm run test:ember
7171
working-directory: website

0 commit comments

Comments
 (0)