Skip to content

Commit 25bf58a

Browse files
committed
Simplify workflow
1 parent 8b26d96 commit 25bf58a

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4.2.2
23-
- name: Setup Node.js ${{ matrix.node }}
24-
uses: actions/setup-node@v4.4.0
23+
- name: Setup
24+
uses: ./.github/actions/setup
2525
with:
2626
node-version: ${{ matrix.node }}
27-
- uses: pnpm/action-setup@v4.1.0
28-
with:
29-
run_install: true
3027

3128
- name: Test
3229
run: pnpm test:coverage
@@ -40,11 +37,8 @@ jobs:
4037
steps:
4138
- name: Checkout
4239
uses: actions/checkout@v4.2.2
43-
- name: Setup Node.js
44-
uses: actions/setup-node@v4.4.0
45-
- uses: pnpm/action-setup@v4.1.0
46-
with:
47-
run_install: true
40+
- name: Setup
41+
uses: ./.github/actions/setup
4842

4943
- name: Lint
5044
run: pnpm lint
@@ -55,11 +49,8 @@ jobs:
5549
steps:
5650
- name: Checkout
5751
uses: actions/checkout@v4.2.2
58-
- name: Setup Node.js
59-
uses: actions/setup-node@v4.4.0
60-
- uses: pnpm/action-setup@v4.1.0
61-
with:
62-
run_install: true
52+
- name: Setup
53+
uses: ./.github/actions/setup
6354

6455
- name: Build
6556
run: pnpm build
@@ -77,9 +68,8 @@ jobs:
7768
with:
7869
repository: fluent-vue/examples
7970
path: examples
80-
- name: Setup Node.js
81-
uses: actions/setup-node@v4.4.0
82-
- uses: pnpm/action-setup@v4.1.0
71+
- name: Setup
72+
uses: ./.github/actions/setup
8373

8474
- name: Test
8575
run: node scripts/build-examples.js

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy