Skip to content

Commit 321ac8c

Browse files
committed
feat: add option to skip build in node
1 parent f75a4e6 commit 321ac8c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci-node.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ on:
3131
required: false
3232
type: boolean
3333
default: false
34+
skip-build:
35+
description: 'Set to true to skip the build phase'
36+
required: false
37+
type: boolean
38+
default: false
3439
working-directory:
3540
description: 'Working directory for the yarn installation, build and tests jobs.'
3641
required: false
@@ -50,6 +55,7 @@ jobs:
5055

5156
build:
5257
name: Lint and build
58+
if: ${{ !inputs.skip-build }}
5359
runs-on: ubuntu-latest
5460
defaults:
5561
run:

0 commit comments

Comments
 (0)