Reuf Rujevic
fe2be4c29a
Create Kero-u
...
name: Caching with npm
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test
To my reufrujevic750@gmail.com
2023-10-06 22:22:09 +02:00
Bethany
704facf57e
Merge pull request #1236 from actions/bethanyj28/bump-version
...
Bump action version to 3.3.2
2023-09-07 16:31:19 -04:00
bethanyj28
17e2888746
Add to RELEASES.md
2023-09-06 14:41:49 -04:00
bethanyj28
667d8fdfa2
bump action version to 3.3.2
2023-09-06 14:15:33 -04:00
Chad Kimes
f7ebb81a3f
Consume latest toolkit and fix dangling promise bug ( #1217 )
...
* Consume latest toolkit and fix dangling promise bug
* Pass earlyExit parameter to run method so tests don't hang
* Pass earlyExit parameter to run method so tests don't hang
* Refactor restore files to have better patterns for testing
* style
2023-08-09 15:36:51 +01:00
Johanan Idicula
67b839edb6
Merge pull request #1187 from jorendorff/jorendorff/rm-add-to-project
...
Remove actions to add new PRs and issues to a project board
2023-06-12 15:14:21 -04:00
Jason Orendorff
57f0e3f198
Remove actions to add new PRs and issues to a project board
...
The project doesn't seem to exist, so this always fails.
2023-06-12 13:10:52 -05:00
Vipul
04f198bf0b
Merge pull request #1132 from vorburger/bazel-example
...
Bazel example (Take #2️⃣ )
2023-03-21 12:15:41 +05:30
Vipul
bd9b49b6c3
Merge branch 'main' into bazel-example
2023-03-21 12:10:48 +05:30
Lovepreet Singh
ea0503788c
Merge pull request #1122 from actions/pdotl-patch-1
...
Update Cross-OS Caching tips
2023-03-17 13:09:54 +05:30
Lovepreet Singh
6a1a45d49b
Merge branch 'main' into pdotl-patch-1
2023-03-17 12:28:02 +05:30
Vipul
9c7b3e90bd
Merge pull request #1131 from actions/bishal-pdMSFT-patch-4
...
Change two new actions mention as quoted text
2023-03-13 19:07:22 +05:30
Michael Vorburger ⛑️
8f2671f18e
Merge branch 'main' into bazel-example
2023-03-13 06:27:49 -07:00
Michael Vorburger ⛑️
6f1f1e10f3
Clarify that macos-latest image has bazelisk
2023-03-13 14:26:31 +01:00
Bishal Prasad
5cb4bb86c0
Merge branch 'main' into bishal-pdMSFT-patch-4
2023-03-13 18:54:39 +05:30
Sankalp Kotewar
84995e0d91
Updated description of the lookup-only input for main action ( #1130 )
...
* Updated description of the lookup-only input for main action
* Update README.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
* Update README.md
---------
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2023-03-13 16:43:13 +05:30
Bishal Prasad
bf96a3f9d8
Merge branch 'main' into bishal-pdMSFT-patch-4
2023-03-13 15:41:54 +05:30
Michael Vorburger ⛑️
4b8460cbff
Create separate Linux/macOS examples for Bazel
2023-03-13 10:52:18 +01:00
Sankalp Kotewar
57014a2baa
Readme fixes ( #1134 )
...
* Update README.md
* Update README.md
2023-03-13 12:02:23 +05:30
Sankalp Kotewar
cb865c1889
Fixed readme with new segment timeout values ( #1133 )
2023-03-13 11:02:55 +05:30
Bishal Prasad
4e7c82221f
Merge branch 'main' into bishal-pdMSFT-patch-4
2023-03-13 11:01:00 +05:30
Sankalp Kotewar
88522ab9f3
Reduced download segment size to 128 MB and timeout to 10 minutes ( #1129 )
...
* Changed segment size to 128mb & timeout to 10 min
* Updated license
* Updated licenses
2023-03-13 10:32:46 +05:30
Michael Vorburger
ef11f54eee
Fix example for Bazel
2023-03-11 19:54:11 +01:00
David Bernard
4b381be638
Add example for Bazel
2023-03-11 19:21:37 +01:00
Bishal Prasad
7893481812
Change two new actions mention as quoted text
2023-03-11 21:32:05 +05:30
Marc Mueller
940f3d7cf1
Add lookup-only
option ( #1041 )
...
* Add new actions/cache version (with dryRun support)
* Add dry-run option
* Changes after rebase
* Update readme
* Rename option to lookup-only
* Update test name
* Update package.json + changelog
* Update README
* Update custom package version
* Update custom package version
* Update @actions/cache to 3.2.0
* Code review
* Update log statement
* Move test case
---------
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
2023-03-09 18:00:28 +05:30
Kotokaze
e0d62270e2
docs: Add missing permission in cache delete example ( #1123 )
2023-02-27 23:40:04 +05:30
Lovepreet Singh
77eb7eb198
Update Cross-OS Caching tips
2023-02-23 11:59:31 +05:30
Lovepreet Singh
69d9d449ac
Merge pull request #1118 from actions/pdotl/zstd-hotfix
...
Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners
2023-02-21 15:32:12 +05:30
Lovepreet Singh
8d3a1e02aa
Fix license
2023-02-20 20:03:56 +00:00
Lovepreet Singh
b1db4b4897
Fix zstd breaking after new version release
2023-02-20 19:51:54 +00:00
Lovepreet Singh
7d4d6f7ffd
Update package-lock.json
2023-02-20 19:42:58 +00:00
Lovepreet Singh
8f7fa5d715
Bump @actions/cache version
2023-02-20 19:41:53 +00:00
Lovepreet Singh
95b455a0fb
3.2.6
2023-02-20 19:40:25 +00:00
Deepak Dahiya
81b7281936
Updated branch in Force deletion of caches ( #1108 )
...
* Updated branch in Force deletion of caches
Fixes this issue https://github.com/actions/cache/issues/1107
* Update tips-and-workarounds.md
2023-02-14 14:41:58 +05:30
Sampark Sharma
6998d139dd
Release patch version update ( #1105 )
2023-02-10 11:44:56 +05:30
Sankalp Kotewar
2b8105bdae
Fixing paths for OSes ( #1101 )
2023-02-03 14:32:26 +05:30
Sankalp Kotewar
e08330827d
Fixed typos and formatting in docs ( #1076 )
...
* Removed extra code from readme examples
* Formatted and fixed typos
2023-02-03 09:53:09 +05:30
Josh Soref
22d3da765b
Rewrite readmes ( #1085 )
...
* Improve readmes
* Add markdown for default value
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
---------
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
2023-01-31 16:01:15 +05:30
Marc Mueller
627f0f41f6
Add fail-on-cache-miss
option ( #1036 )
...
* Add fail-on-cache-miss option
* Small improvements
* Changes after rebase
* Update description
* Only fail if no cache entry is found
* Code review
* Update readme
* Add additional test case
* Bump version + changelog
* Update package-lock.json
* Update Readme
2023-01-30 16:40:58 +05:30
Lovepreet Singh
8e3048d0f7
Merge pull request #1089 from maybeec/patch-1
...
Added another usage hint to foresee #1072
2023-01-27 16:34:23 +05:30
Malte Brunnlieb
1b004e8a69
Update tips-and-workarounds.md
...
Co-authored-by: Lovepreet Singh <pdotl@github.com>
2023-01-27 09:07:57 +01:00
Malte Brunnlieb
75b110bc85
Added another hint to foresee #1072
2023-01-27 06:35:14 +01:00
Kevin P. Fleming
2b5a782c64
Update caching-strategies.md ( #1084 )
...
Correct typo; `restore` should be `save'.
2023-01-22 19:20:12 +05:30
Lovepreet Singh
6c2de3ba98
Merge pull request #1081 from vHeemstra/patch-1
...
chore: Fix syntax error typo
2023-01-20 10:49:48 +05:30
Philip
b63536828e
there as well ;)
2023-01-19 21:08:05 +01:00
Philip
cd2aaa9df8
chore: Fix syntax error typo
2023-01-19 21:04:46 +01:00
Pallav Dhobley
9b7ef12f3e
Merge pull request #1077 from actions/pallavx-patch-1
...
Introduce add-to-project step for new issues/PRs & rename workflow files
2023-01-18 16:32:37 +05:30
Pallav Dhobley
3c08cab74f
Introduce add-to-project step & rename add-reviewer-pr workflow file
2023-01-18 10:20:43 +00:00
Pallav Dhobley
8315026919
Add add-to-project step & rename workflow assign-issue workflow file
...
We are updating the workflows to auto-add new issues & PR to actions/cache project board.
2023-01-18 15:42:12 +05:30