Repository navigation
ci: run workspace tests and lint on PRs (DEV-41) #1
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
Changes from all commits
f20b0c5
f3a7d01
055ad09
def0df7
ad2ece1
d65afa9
e1168d9
91ff813
bed30cb
90e8a2c
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,19 @@ | ||
| name: CI | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - uses: actions/setup-node@v7 | ||
| with: | ||
| node-version: 22 | ||
| cache: npm | ||
| - run: npm ci | ||
| - run: npm test | ||
| - run: npm run lint | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
devin-ai-integration[bot] marked this conversation as resolved.
Resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |
| }, | ||
| "scripts": { | ||
| "test": "node --test build/tests/*.test.js", | ||
| "lint": "node --check bin/plugin-builder && find build/core build/adapters -name '*.js' -exec node --check {} \\;" | ||
| "lint": "node --check bin/plugin-builder && bash -o pipefail -c \"find build/core build/adapters -name '*.js' -print0 | xargs -0 -n 1 node --check\"" | ||
|
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. 📝 Info: 로컬 린트에 Bash 필요 Ubuntu CI와 달리, Bash가 없는 로컬 환경에서는 Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| }, | ||
| "license": "MIT", | ||
| "author": "developjik <developjik@gmail.com>", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.