Skip to content

Commit aedb04a

Browse files
squash!
1 parent b47112f commit aedb04a

File tree

6 files changed

+343
-0
lines changed

6 files changed

+343
-0
lines changed

.github/dependabot.yml

+20
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: "cargo"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
versioning-strategy: lockfile-only
15+
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "daily"
20+
versioning-strategy: increase

.github/workflows/Dependabot.yml

+45
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

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

.github/workflows/NPM.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
permissions:
23+
contents: read
24+
id-token: write
25+
26+
steps:
27+
- uses: actions/[email protected]
28+
29+
- uses: actions/[email protected]
30+
with:
31+
node-version: "18"
32+
registry-url: "https://registry.npmjs.org"
33+
34+
- run: npm install -g npm
35+
36+
- name: Publish .
37+
continue-on-error: true
38+
working-directory: .
39+
run: |
40+
npm install --legacy-peer-deps
41+
npm publish --legacy-peer-deps --provenance
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/Node.yml

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

.github/workflows/Rust.yml

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: Rust
2+
3+
concurrency:
4+
group: Rust-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
10+
on:
11+
workflow_dispatch:
12+
push:
13+
branches: [Current]
14+
pull_request:
15+
branches: [Current]
16+
workflow_call:
17+
18+
jobs:
19+
Build:
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+
53+
strategy:
54+
matrix:
55+
toolchain: ["stable", "nightly"]
56+
57+
steps:
58+
- uses: actions/[email protected]
59+
60+
- uses: actions-rs/[email protected]
61+
with:
62+
profile: minimal
63+
toolchain: ${{ matrix.toolchain }}
64+
65+
- uses: actions/[email protected]
66+
with:
67+
path: |
68+
~/.cargo/bin/
69+
~/.cargo/registry/index/
70+
~/.cargo/registry/cache/
71+
~/.cargo/git/db/
72+
target/
73+
Target/
74+
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.toml') }}
75+
- uses: actions-rs/[email protected]
76+
with:
77+
command: build
78+
args: --release --all-features --manifest-path ./Cargo.toml

0 commit comments

Comments
 (0)