-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Go #12042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Go #12042
Changes from all commits
28deb0e
717d6f5
df34771
44cf777
ccef707
c04a2f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| { "extends": ".eslintrc.shared.json", "env": { "node": true, "browser": true, "es2021": true }, "parserOptions": { "ecmaVersion": 2021, "sourceType": "module" } } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: Lint | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| npm install | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Use Prompt for AI agents |
||
|
|
||
| - name: Run ESLint | ||
| run: | | ||
| npx eslint . | ||
|
|
||
| - name: Run Prettier | ||
| run: | | ||
| npx prettier --check . | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,40 @@ | ||||||
| name: Test | ||||||
|
|
||||||
| on: | ||||||
| push: | ||||||
| branches: | ||||||
| - main | ||||||
| pull_request: | ||||||
| branches: | ||||||
| - main | ||||||
|
|
||||||
| jobs: | ||||||
| test: | ||||||
| runs-on: ubuntu-latest | ||||||
| strategy: | ||||||
| matrix: | ||||||
| node-version: [20] | ||||||
| steps: | ||||||
| - name: Checkout code | ||||||
| uses: actions/checkout@v3 | ||||||
|
|
||||||
| - name: Setup Node.js ${{ matrix.node-version }} | ||||||
| uses: actions/setup-node@v3 | ||||||
| with: | ||||||
| node-version: ${{ matrix.node-version }} | ||||||
| cache: 'npm' | ||||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: npm install | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: CI workflow uses Prompt for AI agents
Suggested change
|
||||||
|
|
||||||
| - name: Run tests for core | ||||||
| run: cd core && npm test | ||||||
| continue-on-error: true | ||||||
1Patrik1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| - name: Run tests for binary | ||||||
| run: cd binary && npm test | ||||||
| continue-on-error: true | ||||||
|
|
||||||
| - name: Upload coverage reports | ||||||
| uses: codecov/codecov-action@v3 | ||||||
| if: always() | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| name: TypeScript Type Checking\n\non:\n push:\n branches:\n - main\n pull_request:\n branches:\n - main\n\njobs:\n type-check:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v2\n \n - name: Setup Node.js\n uses: actions/setup-node@v2\n with:\n node-version: '14'\n \n - name: Install dependencies\n run: |\n npm install\n \n - name: Type Check\n run: |\n npm run type-check\n env:\n CI: true\n | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Workflow YAML was committed with literal Prompt for AI agents |
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Lint workflow does not configure a pinned Node.js version, making CI behavior dependent on changing runner defaults.
Prompt for AI agents