recaptime-dev / verify

Verification Endpoint API | Read-only GitHub mirror, please take your pull requests to GitLab instead.
https://gitlab.com/RecapTime/verify
MIT License
5 stars 1 forks source link

chore(deps): bump actions/setup-node from 1 to 2.4.0 #14

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps actions/setup-node from 1 to 2.4.0.

Release notes

Sourced from actions/setup-node's releases.

Support caching for mono repos and repositories with complex structure

This release introduces dependency caching support for mono repos and repositories with complex structure (#305).

By default, the action searches for the dependency file (package-lock.json or yarn.lock) in the repository root. Use the cache-dependency-path input for cases when multiple dependency files are used, or they are located in different subdirectories. This input supports wildcards or a list of file names for caching multiple dependencies.

Yaml example:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: 14
    cache: npm
    cache-dependency-path: 'sub-project/package-lock.json'

For more examples of using cache-dependency-path input, see the Advanced usage guide.

Revert temporary fix

We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again. Thank you for understanding.

Temporary maintenance fix.

Temporarily disabled usage of pre-cached Node.js.

Support caching pnpm dependencies

This release introduces dependency caching support for the pnpm package manager (#278).

Caching pnpm dependencies:

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

steps:

  • uses: actions/checkout@v2
  • uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2 with: version: 6.10.0
  • uses: actions/setup-node@v2 with: node-version: '14' cache: 'pnpm'
  • run: pnpm install
  • run: pnpm test

NOTE: pnpm caching support requires pnpm version >= 6.10.0

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
ajhalili2006 commented 3 years ago

@dependabot rebase

RecapTimeBot commented 3 years ago
Fails
:no_entry_sign: Danger failed to run `./danger/github.js`.
Messages
:book: Nice! Just make sure the PR body doesn't contain nonsense stuff that we think it's unimportant to reach 30+ characters.

Error TypeError

yarn is not a function
TypeError: yarn is not a function
    at Object.<anonymous> (./danger/github.js:121:1)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.requireFromString [as default] (/home/runner/work/verify/verify/.yarn/cache/require-from-string-npm-2.0.2-8557e0db12-a03ef68954.zip/node_modules/require-from-string/index.js:28:4)
    at /home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:157:63
    at step (/home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:52:23)
    at Object.next (/home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:33:53)
    at /home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:23:12)
    at exports.runDangerfileEnvironment (/home/runner/work/verify/verify/.yarn/cache/danger-npm-10.6.6-c39e093dc4-f2ac80e8a0.zip/node_modules/danger/distribution/runner/runners/inline.js:118:136)

Dangerfile

114| ) {
115|   fail(
116|     "For contributors, please don't make package version changes for `@rtapp-verify/server`. If you're an team member at The Pins Team (we consider Recap Time squad members as part of The Pins Team, through the `@RecapTime/squad` team membership in GitHub) or an community maintainer here, ping Andrei Jiroh so he can help you cut an new release for the API server. If he's not available, add `release-dispatcher` label to dismiss this error and check the Release workflow in maintainer docs. Make sure to coordinate with your fellow maintainers as you ship new releases."
117|   );
118| }
119| 
120| // some plugins
----^
121| yarn();
122| 

Generated by :no_entry_sign: dangerJS against 2eef2c6d8d97ae24cef883c09adfcf4ea105ab80

ajhalili2006 commented 3 years ago

Probably I need to fix the Dangerfiles now. Lemme open Cloud Shell real quick.

Edit 10:52 2021-09-01 PHT: I think I need to fix something.

ajhalili2006 commented 3 years ago

@dependabot rebase

ajhalili2006 commented 3 years ago

@dependabot rebase