Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2f564a4

Browse files
fix: workflows
1 parent 8047dba commit 2f564a4

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

‎.github/workflows/coverage.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

24+
- name: Install PNPM
25+
run: npm install -g pnpm
26+
2427
- name: Install dependencies
25-
run: yarn install
28+
run: pnpm install
2629

2730
- name: Run the tests
28-
run: yarn test -- --coverage
31+
run: pnpm test -- --coverage
2932

3033
- name: Upload coverage to Codecov
3134
uses: codecov/codecov-action@v1

‎.github/workflows/main.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ jobs:
1919
with:
2020
node-version: ${{ matrix.node }}
2121

22+
- name: Install PNPM
23+
run: npm install -g pnpm
24+
2225
- name: Install deps and build (with cache)
2326
uses: bahmutov/npm-install@v1
2427

2528
- name: Lint
26-
run: yarn lint
29+
run: pnpm lint
2730

2831
- name: Test
29-
run: yarn test --ci --coverage --maxWorkers=2
32+
run: pnpm test --ci --coverage --maxWorkers=2
3033

3134
- name: Build
32-
run: yarn build
35+
run: pnpm build

‎.github/workflows/surge.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

25+
- name: Install PNPM
26+
run: npm install -g pnpm
27+
2528
- name: Install dependencies
26-
run: yarn install
29+
run: pnpm install
2730

2831
- name: Build Storybook
29-
run: yarn build-storybook
32+
run: pnpm build-storybook
3033

3134
- name: Install Surge
3235
run: npm install --global surge

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /