Skip to content

Commit af126ac

Browse files
committed
Remove use of wyvox action
1 parent 7f6f5a3 commit af126ac

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Setup environment
2+
description: Setup environment
3+
4+
inputs:
5+
node-version:
6+
default: '18'
7+
description: Node version
8+
9+
runs:
10+
using: composite
11+
12+
steps:
13+
- uses: pnpm/action-setup@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
cache: pnpm
17+
node-version: ${{inputs.node-version}}
18+
- run: pnpm install
19+
shell: bash

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: wyvox/action-setup-pnpm@v3
14+
- uses: ./.github/actions/setup-environment
1515
- run: pnpm lint
1616

1717
test:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ${{matrix.os}}
2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: wyvox/action-setup-pnpm@v3
23+
- uses: ./.github/actions/setup-environment
2424
with:
2525
node-version: ${{matrix.node-version}}
2626
- run: pnpm test:coverage

0 commit comments

Comments
 (0)