Skip to content

Commit 175c3c4

Browse files
authored
ci: improve workflow (#910)
1 parent 484f4ef commit 175c3c4

File tree

3 files changed

+14
-43
lines changed

3 files changed

+14
-43
lines changed

.github/actions/setup-node-pnpm/action.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/check.yml renamed to .github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
# eslint-disable @stylistic/spaced-comment
2-
3-
name: Check
2+
name: CI
43

54
on: push
65

76
jobs:
87
check:
98
runs-on: ubuntu-latest
10-
environment: dev
9+
timeout-minutes: 10
1110
steps:
1211
- name: Checkout
1312
uses: actions/checkout@v4
1413
with:
1514
fetch-depth: 0
1615

17-
- name: Install Dependencies
18-
uses: ./.github/actions/setup-node-pnpm
16+
- name: Install pnpm
17+
uses: pnpm/action-setup@v4
18+
19+
- name: Set node version
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version-file: .nvmrc
23+
cache: pnpm
24+
25+
- name: Install deps
26+
run: pnpm install
1927

2028
- name: Check Spelling
2129
run: pnpm spell

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)