Skip to content

Commit 43aa313

Browse files
fixup
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
1 parent 7c0d29f commit 43aa313

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ on:
55
branches:
66
- main
77
paths-ignore:
8-
- 'docs/**'
9-
- '**.md'
8+
- "docs/**"
9+
- "**.md"
1010
pull_request:
1111
paths-ignore:
12-
- 'docs/**'
13-
- '**.md'
12+
- "docs/**"
13+
- "**.md"
1414
workflow_dispatch:
1515
inputs:
1616
job:
17-
description: 'Run a single job'
17+
description: "Run a single job"
1818
required: false
19-
default: ''
19+
default: ""
2020

2121
# This allows a subsequently queued workflow run to interrupt previous runs
2222
concurrency:
23-
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
23+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
2424
cancel-in-progress: true
2525

2626
env:
2727
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
2828

2929
jobs:
3030
setup:
31-
name: 'setup - ${{ matrix.label }}'
31+
name: "setup - ${{ matrix.label }}"
3232
runs-on: ${{matrix.os}}
3333
timeout-minutes: 30
3434
strategy:
@@ -44,16 +44,16 @@ jobs:
4444
- uses: actions/setup-node@v4
4545
with:
4646
node: 22.18.0
47-
cache: 'pnpm'
48-
- uses: 'nick-fields/retry@v3.0.2'
47+
cache: "pnpm"
48+
- uses: "nick-fields/retry@v3.0.2"
4949
with:
5050
max_attempts: 10
5151
timeout_minutes: 15
5252
retry_on: error
5353
command: pnpm fetch --ignore-scripts
5454

5555
dependency-check:
56-
name: 'dependency-check - ${{ matrix.label }}'
56+
name: "dependency-check - ${{ matrix.label }}"
5757
needs: setup
5858
if: ${{ !inputs.job || inputs.job == 'dependency-check' }}
5959
runs-on: ${{ matrix.os }}
@@ -79,22 +79,20 @@ jobs:
7979
- uses: actions/setup-node@v4
8080
with:
8181
node-version: ${{ matrix.node }}
82-
cache: 'pnpm'
82+
cache: "pnpm"
8383
- name: pnpm install
8484
id: install
8585
run: |
8686
pnpm install --production --frozen-lockfile 2>&1 | tee out
8787
echo "pnpmoutput<<EOF" >> $GITHUB_OUTPUT
8888
cat out >> $GITHUB_OUTPUT
8989
echo "EOF" >> $GITHUB_OUTPUT
90-
- name: CLI must load
91-
run: cd packages/massimo-cli && node index.js --help
9290
- name: Circular Dependency
9391
if: contains(steps.install.outputs.pnpmoutput, 'cyclic')
9492
run: exit 1
9593

9694
massimo:
97-
name: 'massimo - ${{ matrix.label }}'
95+
name: "massimo - ${{ matrix.label }}"
9896
needs: setup
9997
if: ${{ !inputs.job || inputs.job == 'massimo' }}
10098
runs-on: ${{ matrix.os }}
@@ -120,8 +118,8 @@ jobs:
120118
- uses: actions/setup-node@v4
121119
with:
122120
node-version: ${{ matrix.node }}
123-
cache: 'pnpm'
124-
- uses: 'nick-fields/retry@v3.0.2'
121+
cache: "pnpm"
122+
- uses: "nick-fields/retry@v3.0.2"
125123
with:
126124
max_attempts: 10
127125
timeout_minutes: 15
@@ -131,7 +129,7 @@ jobs:
131129
run: cd packages/massimo && pnpm test && pnpm run lint
132130

133131
massimo-cli:
134-
name: 'massimo-cli - ${{ matrix.label }}'
132+
name: "massimo-cli - ${{ matrix.label }}"
135133
needs: setup
136134
if: ${{ !inputs.job || inputs.job == 'massimo-cli' }}
137135
runs-on: ${{ matrix.os }}
@@ -157,8 +155,8 @@ jobs:
157155
- uses: actions/setup-node@v4
158156
with:
159157
node-version: ${{ matrix.node }}
160-
cache: 'pnpm'
161-
- uses: 'nick-fields/retry@v3.0.2'
158+
cache: "pnpm"
159+
- uses: "nick-fields/retry@v3.0.2"
162160
with:
163161
max_attempts: 10
164162
timeout_minutes: 15
@@ -168,7 +166,7 @@ jobs:
168166
run: cd packages/massimo-cli && pnpm test && pnpm run lint
169167

170168
massimo-cli-e2e:
171-
name: 'massimo-cli-e2e - ${{ matrix.label }}'
169+
name: "massimo-cli-e2e - ${{ matrix.label }}"
172170
needs: setup
173171
if: ${{ !inputs.job || inputs.job == 'massimo-cli-e2e' }}
174172
runs-on: ${{ matrix.os }}
@@ -188,8 +186,8 @@ jobs:
188186
- uses: actions/setup-node@v4
189187
with:
190188
node-version: ${{ matrix.node }}
191-
cache: 'pnpm'
192-
- uses: 'nick-fields/retry@v3.0.2'
189+
cache: "pnpm"
190+
- uses: "nick-fields/retry@v3.0.2"
193191
with:
194192
max_attempts: 10
195193
timeout_minutes: 15
@@ -200,4 +198,4 @@ jobs:
200198
- name: Install E2E Playwright browsers
201199
run: cd packages/massimo-cli && pnpm exec playwright install
202200
- name: Run massimo-cli package e2e test suite
203-
run: cd packages/massimo-cli && pnpm e2e:test
201+
run: cd packages/massimo-cli && pnpm e2e:test

0 commit comments

Comments
 (0)