-
Notifications
You must be signed in to change notification settings - Fork 49
sh1pt: install Node pnpm Test (node-pnpm-test@1.0.0) #399
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
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,35 @@ | ||||||||||||||||||||||||||
| # Managed by sh1pt Actions Fleet | ||||||||||||||||||||||||||
| # pack: node-pnpm-test@1.0.0 | ||||||||||||||||||||||||||
| # install: sh1pt-actions-store | ||||||||||||||||||||||||||
| # hash: sha256:14a3f6fdbc21be92e815a16317251c967e4fbd95a5daf98819e0c23e7d56bf4f | ||||||||||||||||||||||||||
| name: test | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||
| pull_request: | ||||||||||||||||||||||||||
| push: | ||||||||||||||||||||||||||
| branches: [master] | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| permissions: | ||||||||||||||||||||||||||
| contents: read | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||
| test: | ||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||
| timeout-minutes: 15 | ||||||||||||||||||||||||||
|
Comment on lines
+15
to
+18
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. The existing
Suggested change
|
||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - uses: pnpm/action-setup@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| version: 9.12.0 | ||||||||||||||||||||||||||
|
Comment on lines
+22
to
+24
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.
Suggested change
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - uses: actions/setup-node@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| node-version: 22 | ||||||||||||||||||||||||||
| cache: pnpm | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - run: pnpm install --frozen-lockfile | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - run: pnpm test | ||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||
| CI: true | ||||||||||||||||||||||||||
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.
ci.ymlThe existing
.github/workflows/ci.ymlalready runspnpm install --frozen-lockfileandpnpm teston everypull_requestand onpushtomaster. This new workflow duplicates those exact steps for the same trigger events, so every PR and every master push will now runpnpm testtwice in parallel, consuming double the CI minutes with no additional coverage.