Skip to content

Commit ecfdf79

Browse files
squash!
1 parent 5b83d30 commit ecfdf79

3 files changed

Lines changed: 152 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
9+
- package-ecosystem: "npm"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
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/fetch-metadata@v1.6.0
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/fetch-metadata@v1.6.0
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/Node.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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: [main]
16+
pull_request:
17+
branches: [main]
18+
workflow_call:
19+
20+
jobs:
21+
Pre-Publish:
22+
runs-on: ubuntu-latest
23+
24+
env:
25+
ADBLOCK: true
26+
TELEMETRY_DISABLED: 1
27+
ASTRO_TELEMETRY_DISABLED: 1
28+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
29+
AZURE_CORE_COLLECT_TELEMETRY: 0
30+
CHOOSENIM_NO_ANALYTICS: 1
31+
DIEZ_DO_NOT_TRACK: 1
32+
DO_NOT_TRACK: 1
33+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
34+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
35+
ET_NO_TELEMETRY: 1
36+
GATSBY_TELEMETRY_DISABLED: 1
37+
GATSBY_TELEMETRY_OPT_OUT: 1
38+
GATSBY_TELEMETRY_OPTOUT: 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+
54+
strategy:
55+
matrix:
56+
node-version: [18, 19, 20]
57+
58+
steps:
59+
- uses: actions/checkout@v4.1.1
60+
61+
- uses: pnpm/action-setup@v2.4.0
62+
with:
63+
version: 8.6.12
64+
run_install: |
65+
- recursive: true
66+
args: [
67+
--link-workspace-packages=true,
68+
--lockfile-only,
69+
--prefer-frozen-lockfile=false,
70+
--shamefully-hoist=false,
71+
--shared-workspace-lockfile=true,
72+
--strict-peer-dependencies=false,
73+
--unsafe-perm=true
74+
]
75+
76+
- uses: actions/setup-node@v4.0.0
77+
with:
78+
node-version: ${{ matrix.node-version }}
79+
cache: "pnpm"
80+
cache-dependency-path: ./pnpm-lock.yaml
81+
82+
- run: pnpm install
83+
working-directory: .
84+
85+
- run: pnpm run build
86+
working-directory: .
87+
88+
- uses: actions/upload-artifact@v4.0.0
89+
with:
90+
name: .-Node-${{ matrix.node-version }}-Target
91+
path: ./Target
92+
93+
- run: pnpm run test
94+
working-directory: .

0 commit comments

Comments
 (0)