Skip to content

Commit bf75471

Browse files
committed
Revert "An experimental DRY of test.yml using anchors and aliases"
This reverts commit 9a30d3b.
1 parent 9a30d3b commit bf75471

1 file changed

Lines changed: 32 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,57 @@ on:
66
permissions:
77
contents: read
88

9-
.common-setup: &common-setup
10-
- name: Checkout your repository using git
11-
uses: actions/checkout@v4
12-
- name: Setup Node.js
13-
uses: actions/setup-node@v4
14-
with:
15-
node-version: '22'
16-
- name: Install dependencies
17-
run: npm ci
18-
199
jobs:
2010
test:
2111
runs-on: ubuntu-latest
2212
steps:
23-
*common-setup
13+
- name: Checkout your repository using git
14+
uses: actions/checkout@v4
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
- name: Install dependencies
20+
run: npm ci
2421
- name: Test
2522
run: npm run test
2623
lint:
2724
runs-on: ubuntu-latest
2825
steps:
29-
*common-setup
26+
- name: Checkout your repository using git
27+
uses: actions/checkout@v4
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '22'
32+
- name: Install dependencies
33+
run: npm ci
3034
- name: Lint
3135
run: npm run lint
3236
typecheck:
3337
runs-on: ubuntu-latest
3438
steps:
35-
*common-setup
39+
- name: Checkout your repository using git
40+
uses: actions/checkout@v4
41+
- name: Setup Node.js
42+
uses: actions/setup-node@v4
43+
with:
44+
node-version: '22'
45+
- name: Install dependencies
46+
run: npm ci
3647
- name: Typecheck
3748
run: npm run check
3849
build:
3950
runs-on: ubuntu-latest
4051
steps:
41-
*common-setup
52+
- name: Checkout your repository using git
53+
uses: actions/checkout@v4
54+
- name: Setup Node.js
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: '22'
58+
- name: Install dependencies
59+
run: npm ci
4260
- name: Build
4361
env:
4462
SKIP_BUILD_COMPRESS: 1

0 commit comments

Comments
 (0)