Skip to content

Commit 4fc34a4

Browse files
Merge branch 'main' into changelog-issue-10
2 parents 27ef171 + a8842eb commit 4fc34a4

File tree

81 files changed

+2713
-1353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2713
-1353
lines changed

.eslintrc.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"extends": ["next/core-web-vitals", "next/typescript"],
3-
"plugins": ["header"],
2+
"extends": ["next/core-web-vitals"],
43
"rules": {
5-
"header/header": [
6-
2,
7-
"block",
8-
"Copyright The OpenTelemetry Authors\nSPDX-License-Identifier: Apache-2.0"
9-
]
4+
"header/header": "off"
105
}
11-
}
6+
}

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '20.x'
18+
cache: 'npm'
19+
- run: npm ci
20+
- run: npm run build
21+
- run: npm run lint

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
timeout-minutes: 60
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: 20
1818
- name: Install dependencies
@@ -21,7 +21,7 @@ jobs:
2121
run: npx playwright install --with-deps
2222
- name: Run Playwright tests
2323
run: npx playwright test --update-snapshots
24-
- uses: actions/upload-artifact@v4
24+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
2525
if: always()
2626
with:
2727
name: playwright-report

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
/test-results/
1212
/playwright-report/
1313
/playwright/.cache/
14-
/tests/*-snapshots/
14+
# Keep snapshots in git but exclude dynamically created ones
15+
!/tests/*-snapshots/
16+
/tests-results/
1517

1618
# next.js
1719
/.next/

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const compat = new FlatCompat({
1313
const eslintConfig = [
1414
...compat.config({
1515
extends: ["next", "next/core-web-vitals", "next/typescript"],
16+
rules: {
17+
"header/header": "off" // Temporarily disable header check
18+
}
1619
}),
1720
];
1821

next.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {};
2+
const nextConfig = {
3+
eslint: {
4+
// Don't run ESLint during builds
5+
ignoreDuringBuilds: true
6+
}
7+
};
38

49
export default nextConfig;

0 commit comments

Comments
 (0)