Skip to content

Commit 1cf17f5

Browse files
1 parent 92ba487 commit 1cf17f5

File tree

5 files changed

+299
-0
lines changed

5 files changed

+299
-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: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
53+
steps:
54+
- uses: pozil/[email protected]
55+
with:
56+
repo-token: ${{ secrets.GITHUB_TOKEN }}
57+
assignees: NikolaRHristov
58+
numOfAssignee: 1

.github/workflows/NPM.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
54+
permissions:
55+
contents: read
56+
id-token: write
57+
58+
steps:
59+
- uses: actions/[email protected]
60+
61+
- uses: actions/[email protected]
62+
with:
63+
node-version: "18"
64+
registry-url: "https://registry.npmjs.org"
65+
66+
- run: npm install -g npm
67+
68+
- name: Publish .
69+
continue-on-error: true
70+
working-directory: .
71+
run: |
72+
npm publish --legacy-peer-deps --provenance --ignore-scripts
73+
env:
74+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/Node.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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+
56+
strategy:
57+
matrix:
58+
node-version: [18, 19, 20]
59+
60+
steps:
61+
- uses: actions/[email protected]
62+
63+
- uses: pnpm/[email protected]
64+
with:
65+
version: 9.3.0
66+
run_install: |
67+
- recursive: true
68+
args: [
69+
--link-workspace-packages=true,
70+
--lockfile-only,
71+
--prefer-frozen-lockfile=false,
72+
--shamefully-hoist=false,
73+
--shared-workspace-lockfile=true,
74+
--strict-peer-dependencies=false,
75+
--unsafe-perm=true
76+
]
77+
78+
- uses: actions/[email protected]
79+
with:
80+
node-version: ${{ matrix.node-version }}
81+
cache: "pnpm"
82+
cache-dependency-path: ./generators/app/dependencyVersions/pnpm-lock.yaml
83+
84+
- run: pnpm install
85+
working-directory: ./generators/app/dependencyVersions
86+
87+
- uses: actions/[email protected]
88+
with:
89+
node-version: ${{ matrix.node-version }}
90+
cache: "pnpm"
91+
cache-dependency-path: ./pnpm-lock.yaml
92+
93+
- run: pnpm install
94+
working-directory: .
95+
96+
- run: pnpm run prepublishOnly
97+
working-directory: .
98+
99+
- uses: actions/[email protected]
100+
with:
101+
name: .-Node-${{ matrix.node-version }}-Target
102+
path: ./Target

0 commit comments

Comments
 (0)