feat: add header for workflow call
This commit is contained in:
6
.github/workflows/build-lint-test.yaml
vendored
6
.github/workflows/build-lint-test.yaml
vendored
@@ -6,9 +6,9 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
node-version:
|
node-version:
|
||||||
description: 'Node.js version'
|
description: "Node.js version"
|
||||||
required: true
|
required: true
|
||||||
default: 'lts/*'
|
default: "lts/*"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- name: 📥 Install Dependencies
|
- name: 📥 Install Dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: 🏗️ Build
|
- name: 🏗️ Build TypeScript
|
||||||
run: yarn build
|
run: yarn build
|
||||||
env:
|
env:
|
||||||
WIREIT_LOGGER: metrics
|
WIREIT_LOGGER: metrics
|
||||||
|
|||||||
11
.github/workflows/codeql.yaml
vendored
11
.github/workflows/codeql.yaml
vendored
@@ -6,13 +6,20 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 7 * */2 *'
|
- cron: "0 7 * */2 *"
|
||||||
# │ │ │ │ │
|
# │ │ │ │ │
|
||||||
# │ │ │ │ └─── day of the week (0 - 6 or SUN-SAT)
|
# │ │ │ │ └─── day of the week (0 - 6 or SUN-SAT)
|
||||||
# │ │ │ └────── month (1 - 12 or JAN-DEC)
|
# │ │ │ └────── month (1 - 12 or JAN-DEC)
|
||||||
# │ │ └───────── day of the month (1 - 31)
|
# │ │ └───────── day of the month (1 - 31)
|
||||||
# │ └─────────── hour (0 - 23)
|
# │ └─────────── hour (0 - 23)
|
||||||
# └───────────── minute (0 - 59)
|
# └───────────── minute (0 - 59)
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: "Node.js version"
|
||||||
|
required: true
|
||||||
|
default: "lts/*"
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze-code-ql:
|
analyze-code-ql:
|
||||||
@@ -27,7 +34,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
language: ['TypeScript']
|
language: ["TypeScript"]
|
||||||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
7
.github/workflows/dependency-review.yaml
vendored
7
.github/workflows/dependency-review.yaml
vendored
@@ -6,6 +6,13 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: "Node.js version"
|
||||||
|
required: true
|
||||||
|
default: "lts/*"
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependency-review:
|
dependency-review:
|
||||||
|
|||||||
7
.github/workflows/publish-npm.yml
vendored
7
.github/workflows/publish-npm.yml
vendored
@@ -8,6 +8,13 @@ on:
|
|||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: "Node.js version"
|
||||||
|
required: true
|
||||||
|
default: "lts/*"
|
||||||
|
type: string
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: lts/*
|
NODE_VERSION: lts/*
|
||||||
|
|||||||
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
@@ -4,6 +4,13 @@ name: Build & Lint & Test & Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: "Node.js version"
|
||||||
|
required: true
|
||||||
|
default: "lts/*"
|
||||||
|
type: string
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: lts/*
|
NODE_VERSION: lts/*
|
||||||
|
|||||||
Reference in New Issue
Block a user