Skip to content

Commit 5ee0b1a

Browse files
1 parent 8311ce6 commit 5ee0b1a

File tree

5 files changed

+302
-0
lines changed

5 files changed

+302
-0
lines changed

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
enable-beta-ecosystems: true
3+
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
10+
- package-ecosystem: "npm"
11+
directory: "/generators/app/dependencyVersions"
12+
schedule:
13+
interval: "daily"
14+
versioning-strategy: increase
15+
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "daily"
20+
versioning-strategy: increase

.github/workflows/Dependabot.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Dependabot
2+
3+
concurrency:
4+
group: Dependabot-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
pull_request:
15+
16+
jobs:
17+
Approve:
18+
runs-on: ubuntu-latest
19+
20+
if: ${{ github.actor == 'dependabot[bot]' }}
21+
22+
steps:
23+
- uses: dependabot/[email protected]
24+
with:
25+
github-token: "${{ secrets.GITHUB_TOKEN }}"
26+
27+
- run: gh pr review --approve "$PR_URL"
28+
env:
29+
PR_URL: ${{github.event.pull_request.html_url}}
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
31+
32+
Merge:
33+
runs-on: ubuntu-latest
34+
35+
if: ${{ github.actor == 'dependabot[bot]' }}
36+
37+
steps:
38+
- uses: dependabot/[email protected]
39+
with:
40+
github-token: "${{ secrets.GITHUB_TOKEN }}"
41+
42+
- run: gh pr merge --auto --merge "$PR_URL"
43+
env:
44+
PR_URL: ${{github.event.pull_request.html_url}}
45+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/GitHub.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: GitHub
2+
3+
concurrency:
4+
group: GitHub-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
on:
12+
issues:
13+
types: [opened]
14+
pull_request:
15+
types: [opened]
16+
17+
jobs:
18+
Assign:
19+
runs-on: ubuntu-latest
20+
21+
env:
22+
ADBLOCK: true
23+
ASTRO_TELEMETRY_DISABLED: 1
24+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
25+
AZURE_CORE_COLLECT_TELEMETRY: 0
26+
CHOOSENIM_NO_ANALYTICS: 1
27+
DIEZ_DO_NOT_TRACK: 1
28+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
29+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
30+
DO_NOT_TRACK: 1
31+
ET_NO_TELEMETRY: 1
32+
GATSBY_TELEMETRY_DISABLED: 1
33+
GATSBY_TELEMETRY_OPTOUT: 1
34+
GATSBY_TELEMETRY_OPT_OUT: 1
35+
GRIT_TELEMETRY_DISABLED: 1
36+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
37+
HINT_TELEMETRY: off
38+
HOMEBREW_NO_ANALYTICS: 1
39+
INFLUXD_REPORTING_DISABLED: true
40+
ITERATIVE_DO_NOT_TRACK: 1
41+
NEXT_TELEMETRY_DEBUG: 1
42+
NEXT_TELEMETRY_DISABLED: 1
43+
NG_CLI_ANALYTICS: false
44+
NUXT_TELEMETRY_DISABLED: 1
45+
PIN_DO_NOT_TRACK: 1
46+
POWERSHELL_TELEMETRY_OPTOUT: 1
47+
SAM_CLI_TELEMETRY: 0
48+
STNOUPGRADE: 1
49+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
50+
TELEMETRY_DISABLED: 1
51+
TERRAFORM_TELEMETRY: 0
52+
VCPKG_DISABLE_METRICS: 1
53+
54+
steps:
55+
- uses: pozil/[email protected]
56+
with:
57+
repo-token: ${{ secrets.GITHUB_TOKEN }}
58+
assignees: NikolaRHristov
59+
numOfAssignee: 1

.github/workflows/NPM.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: NPM
2+
3+
concurrency:
4+
group: NPM-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
release:
15+
types: [created]
16+
workflow_call:
17+
18+
jobs:
19+
Publish:
20+
runs-on: ubuntu-latest
21+
22+
env:
23+
ADBLOCK: true
24+
ASTRO_TELEMETRY_DISABLED: 1
25+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
26+
AZURE_CORE_COLLECT_TELEMETRY: 0
27+
CHOOSENIM_NO_ANALYTICS: 1
28+
DIEZ_DO_NOT_TRACK: 1
29+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
30+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
31+
DO_NOT_TRACK: 1
32+
ET_NO_TELEMETRY: 1
33+
GATSBY_TELEMETRY_DISABLED: 1
34+
GATSBY_TELEMETRY_OPTOUT: 1
35+
GATSBY_TELEMETRY_OPT_OUT: 1
36+
GRIT_TELEMETRY_DISABLED: 1
37+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
38+
HINT_TELEMETRY: off
39+
HOMEBREW_NO_ANALYTICS: 1
40+
INFLUXD_REPORTING_DISABLED: true
41+
ITERATIVE_DO_NOT_TRACK: 1
42+
NEXT_TELEMETRY_DEBUG: 1
43+
NEXT_TELEMETRY_DISABLED: 1
44+
NG_CLI_ANALYTICS: false
45+
NUXT_TELEMETRY_DISABLED: 1
46+
PIN_DO_NOT_TRACK: 1
47+
POWERSHELL_TELEMETRY_OPTOUT: 1
48+
SAM_CLI_TELEMETRY: 0
49+
STNOUPGRADE: 1
50+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
51+
TELEMETRY_DISABLED: 1
52+
TERRAFORM_TELEMETRY: 0
53+
VCPKG_DISABLE_METRICS: 1
54+
55+
permissions:
56+
contents: read
57+
id-token: write
58+
59+
steps:
60+
- uses: actions/[email protected]
61+
62+
- uses: actions/[email protected]
63+
with:
64+
node-version: "18"
65+
registry-url: "https://registry.npmjs.org"
66+
67+
- run: npm install -g npm
68+
69+
- name: Publish .
70+
continue-on-error: true
71+
working-directory: .
72+
run: |
73+
npm publish --legacy-peer-deps --provenance --ignore-scripts
74+
env:
75+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/Node.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
name: Node
2+
3+
concurrency:
4+
group: Node-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
push:
15+
branches: [Current]
16+
pull_request:
17+
branches: [Current]
18+
workflow_call:
19+
20+
jobs:
21+
Pre-Publish:
22+
runs-on: ubuntu-latest
23+
24+
env:
25+
ADBLOCK: true
26+
ASTRO_TELEMETRY_DISABLED: 1
27+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
28+
AZURE_CORE_COLLECT_TELEMETRY: 0
29+
CHOOSENIM_NO_ANALYTICS: 1
30+
DIEZ_DO_NOT_TRACK: 1
31+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
32+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
33+
DO_NOT_TRACK: 1
34+
ET_NO_TELEMETRY: 1
35+
GATSBY_TELEMETRY_DISABLED: 1
36+
GATSBY_TELEMETRY_OPTOUT: 1
37+
GATSBY_TELEMETRY_OPT_OUT: 1
38+
GRIT_TELEMETRY_DISABLED: 1
39+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
40+
HINT_TELEMETRY: off
41+
HOMEBREW_NO_ANALYTICS: 1
42+
INFLUXD_REPORTING_DISABLED: true
43+
ITERATIVE_DO_NOT_TRACK: 1
44+
NEXT_TELEMETRY_DEBUG: 1
45+
NEXT_TELEMETRY_DISABLED: 1
46+
NG_CLI_ANALYTICS: false
47+
NUXT_TELEMETRY_DISABLED: 1
48+
PIN_DO_NOT_TRACK: 1
49+
POWERSHELL_TELEMETRY_OPTOUT: 1
50+
SAM_CLI_TELEMETRY: 0
51+
STNOUPGRADE: 1
52+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
53+
TELEMETRY_DISABLED: 1
54+
TERRAFORM_TELEMETRY: 0
55+
VCPKG_DISABLE_METRICS: 1
56+
57+
strategy:
58+
matrix:
59+
node-version: [18, 19, 20]
60+
61+
steps:
62+
- uses: actions/[email protected]
63+
64+
- uses: pnpm/[email protected]
65+
with:
66+
version: 9.3.0
67+
run_install: |
68+
- recursive: true
69+
args: [
70+
--link-workspace-packages=true,
71+
--lockfile-only,
72+
--prefer-frozen-lockfile=false,
73+
--shamefully-hoist=false,
74+
--shared-workspace-lockfile=true,
75+
--strict-peer-dependencies=false,
76+
--unsafe-perm=true
77+
]
78+
79+
- uses: actions/[email protected]
80+
with:
81+
node-version: ${{ matrix.node-version }}
82+
cache: "pnpm"
83+
cache-dependency-path: ./generators/app/dependencyVersions/pnpm-lock.yaml
84+
85+
- run: pnpm install
86+
working-directory: ./generators/app/dependencyVersions
87+
88+
- uses: actions/[email protected]
89+
with:
90+
node-version: ${{ matrix.node-version }}
91+
cache: "pnpm"
92+
cache-dependency-path: ./pnpm-lock.yaml
93+
94+
- run: pnpm install
95+
working-directory: .
96+
97+
- run: pnpm run prepublishOnly
98+
working-directory: .
99+
100+
- uses: actions/[email protected]
101+
with:
102+
name: .-Node-${{ matrix.node-version }}-Target
103+
path: ./Target

0 commit comments

Comments
 (0)