Skip to content

Commit 66c7d8a

Browse files
committed
🌈
1 parent caf8b3b commit 66c7d8a

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@ on:
66
branches: [master]
77
jobs:
88
UnitTest:
9-
# The type of runner that the job will run on
109
runs-on: ubuntu-latest
11-
# Steps represent a sequence of tasks that will be executed as part of the job
1210
steps:
13-
- uses: actions/checkout@v2
14-
- uses: pnpm/action-setup@v2
11+
- uses: actions/checkout@v4
12+
- uses: pnpm/action-setup@v4
1513
with:
16-
version: 7.2.1
14+
version: 9.15.4
15+
- name: Setup node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: pnpm
1720
- name: Install modules
18-
run: pnpm install
21+
run: pnpm install --frozen-lockfile
1922
- name: Run Test
2023
run: pnpm run coverage
2124
- name: Upload coverage to Codecov
22-
uses: codecov/codecov-action@v3
25+
uses: codecov/codecov-action@v4
2326
with:
2427
files: ./coverage/coverage-final.json,./coverage/index.html,./coverage/clover.html
2528
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pages.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Setup pnpm
16-
uses: pnpm/action-setup@v2
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 9.15.4
1719

1820
- name: Setup node
1921
uses: actions/setup-node@v4
2022
with:
21-
node-version: 22
23+
node-version: 20
24+
cache: pnpm
2225

2326
- name: Install dependencies
24-
run: pnpm i
27+
run: pnpm i --frozen-lockfile
2528

2629
- name: Build Ik UI
2730
run: pnpm build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@
8383
]
8484
}
8585
}
86-
}
86+
}

0 commit comments

Comments
 (0)