Skip to content

Commit 826d97d

Browse files
committed
update gh workflow
1 parent ec17972 commit 826d97d

File tree

2 files changed

+45
-30
lines changed

2 files changed

+45
-30
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,57 +19,66 @@ jobs:
1919
timeout-minutes: 10
2020

2121
steps:
22-
- uses: actions/checkout@v4
23-
- name: Install Node
24-
uses: actions/setup-node@v4
22+
- uses: actions/checkout@v5
23+
- uses: pnpm/action-setup@v4
24+
with:
25+
version: 10
26+
- uses: actions/setup-node@v6
2527
with:
2628
node-version: 18
27-
cache: yarn
29+
registry-url: 'https://registry.npmjs.org'
30+
cache: pnpm
2831

29-
- name: Install Dependencies
30-
run: yarn install --frozen-lockfile
32+
- run: pnpm install --frozen-lockfile
3133

3234
- name: Lint
33-
run: yarn lint
35+
run: pnpm lint
3436

3537
- name: Run Tests
36-
run: yarn test:ember
38+
run: pnpm test:ember
3739

3840
floating:
3941
name: "Floating Dependencies"
4042
runs-on: ubuntu-latest
4143
timeout-minutes: 10
4244

4345
steps:
44-
- uses: actions/checkout@v4
45-
- uses: actions/setup-node@v4
46+
- uses: actions/checkout@v5
47+
- uses: pnpm/action-setup@v4
48+
with:
49+
version: 10
50+
- uses: actions/setup-node@v6
4651
with:
4752
node-version: 18
48-
cache: yarn
53+
registry-url: 'https://registry.npmjs.org'
54+
cache: pnpm
4955

5056
- name: Install Dependencies
51-
run: yarn install --no-lockfile
57+
run: pnpm install --no-lockfile
5258

5359
- name: Run Tests
54-
run: yarn test:ember
60+
run: pnpm test:ember
5561

5662
separate_build:
5763
name: "Tests with separate build"
5864
runs-on: ubuntu-latest
5965

6066
steps:
61-
- uses: actions/checkout@v4
62-
- name: Install Node
63-
uses: actions/setup-node@v4
67+
- uses: actions/checkout@v5
68+
- uses: pnpm/action-setup@v4
69+
with:
70+
version: 10
71+
- uses: actions/setup-node@v6
6472
with:
6573
node-version: 18
66-
cache: yarn
74+
registry-url: 'https://registry.npmjs.org'
75+
cache: pnpm
6776

6877
- name: Install Dependencies
69-
run: yarn install --frozen-lockfile
78+
run: pnpm install --frozen-lockfile
7079

7180
- name: Run Tests
72-
run: yarn test:separate-build
81+
run: pnpm test:separate-build
7382

7483
try-scenarios:
7584
name: ${{ matrix.try-scenario }}
@@ -95,15 +104,18 @@ jobs:
95104
- embroider-optimized
96105

97106
steps:
98-
- uses: actions/checkout@v4
99-
- name: Install Node
100-
uses: actions/setup-node@v4
107+
- uses: actions/checkout@v5
108+
- uses: pnpm/action-setup@v4
109+
with:
110+
version: 10
111+
- uses: actions/setup-node@v6
101112
with:
102113
node-version: 18
103-
cache: yarn
114+
registry-url: 'https://registry.npmjs.org'
115+
cache: pnpm
104116

105117
- name: Install Dependencies
106-
run: yarn install --frozen-lockfile
118+
run: pnpm install --frozen-lockfile
107119

108120
- name: Run Tests
109121
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
@@ -115,15 +127,18 @@ jobs:
115127
needs: [ test, try-scenarios ]
116128

117129
steps:
118-
- uses: actions/checkout@v4
119-
- name: Install Node
120-
uses: actions/setup-node@v4
130+
- uses: actions/checkout@v5
131+
- uses: pnpm/action-setup@v4
132+
with:
133+
version: 10
134+
- uses: actions/setup-node@v6
121135
with:
122136
node-version: 18
123-
cache: yarn
137+
registry-url: 'https://registry.npmjs.org'
138+
cache: pnpm
124139

125140
- name: Install Dependencies
126-
run: yarn install --frozen-lockfile
141+
run: pnpm install --frozen-lockfile
127142

128143
- name: Ember Deploy
129144
run: node_modules/.bin/ember deploy production

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v5
3030
- uses: pnpm/action-setup@v4
3131
with:
32-
version: 9
32+
version: 10
3333
- uses: actions/setup-node@v6
3434
with:
3535
node-version: 22

0 commit comments

Comments
 (0)