Skip to content
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

chore(ci): Cache yarn and playwright dependencies in CI #2697

Merged
merged 33 commits into from
Sep 15, 2023

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

Base automatically changed from kh-js-workspace to master September 14, 2023 15:00
@socket-security
Copy link

socket-security bot commented Sep 14, 2023

No top level dependency changes detected. Learn more about Socket for GitHub ↗︎

@TomAFrench TomAFrench marked this pull request as ready for review September 14, 2023 18:25
@TomAFrench
Copy link
Member Author

I'm not clear on why this CI run is failing. Those dependencies it's trying to remove are in the relevant package.json file and running yarn install locally doesn't change the yarn.lock.

@kobyhallx @phated do you have any ideas?

@TomAFrench
Copy link
Member Author

I've got a minimal reproduction in #2714

@TomAFrench
Copy link
Member Author

I've found the underlying cause for this issue.

* master:
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
* tf/split-build-and-test:
  chore: remove reference to `result` directory
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
  chore: fix version querying
  chore: nits
  chore(ci): fix playwright caching
  chore: pass full `package.json` into build artifact
  chore: clean up straggler `packageManager`
  chore: remove `packageManager" fields from workspace packages
  chore: refresh lockfile
  Update .github/workflows/abi_wasm.yml
  chore: split build and tests jobs in `abi_wasm.yml`
  chore: Integrate noir.js into workspace and CI release workflow (#2705)
  feat: Add initial version of noir.js (#2681)
  chore: switch `release-source-resolver.yml` to use yarn (#2704)
  chore: move stranded test to correct directory (#2701)
  chore(ci): deny wildcard dependencies (#2702)
  chore: fix `noirc_abi_wasm` publish for release-please (#2699)
* master:
  fix: failing js tests (#2722)
  chore: Add deprecation message for default type in for loop (#2689)
kevaundray
kevaundray previously approved these changes Sep 15, 2023
@kevaundray kevaundray added this pull request to the merge queue Sep 15, 2023
@TomAFrench TomAFrench removed this pull request from the merge queue due to a manual request Sep 15, 2023
@kevaundray kevaundray added this pull request to the merge queue Sep 15, 2023
Merged via the queue into master with commit 4b23abf Sep 15, 2023
14 checks passed
@kevaundray kevaundray deleted the tf/yarn-caching branch September 15, 2023 17:52
TomAFrench added a commit that referenced this pull request Sep 15, 2023
* master:
  chore(ci): Treat clippy warnings as errors in CI (#2684)
  chore(ci): Cache yarn and playwright dependencies in CI (#2697)
  chore: Add noir-wasm publishing as a workflow (#2721)
  fix: failing js tests (#2722)
  chore: Add deprecation message for default type in for loop (#2689)
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
  chore: Integrate noir.js into workspace and CI release workflow (#2705)
  feat: Add initial version of noir.js (#2681)
  chore: switch `release-source-resolver.yml` to use yarn (#2704)
  chore: move stranded test to correct directory (#2701)
  chore(ci): deny wildcard dependencies (#2702)
  chore: fix `noirc_abi_wasm` publish for release-please (#2699)
Comment on lines -11 to -14
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18.17.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You really should be using setup-node to have specific versions of node instead of the outdated one that ships with actions.

Additionally, the setup-node action has the yarn caching directly built-in.

github-merge-queue bot pushed a commit that referenced this pull request Dec 12, 2023
)

# Description

<!-- Thanks for taking the time to improve Noir! -->
<!-- Please fill out all fields marked with an asterisk (*). -->

## Problem\*

<!-- Describe the problem this Pull Request (PR) resolves / link to the
GitHub Issue that describes the problem. -->

Resolves <!-- Link to GitHub Issue -->

## Summary\*

This PR addresses
#2697 (comment)

## Documentation

- [ ] This PR requires documentation updates when merged.

  <!-- If checked, check one of the following: -->

  - [ ] I will submit a noir-lang/docs PR.

  <!-- Submit a PR on https://github.com/noir-lang/docs. Thank you! -->

- [ ] I will request for and support Dev Rel's help in documenting this
PR.

  <!-- List / highlight what should be documented. -->
<!-- Dev Rel will reach out for clarifications when needed. Thank you!
-->

## Additional Context

<!-- Supplement further information if applicable. -->

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.

---------

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants