Skip to content

Commit 268931b

Browse files
committed
Build: update to GitHub Actions v5 to fix warnings
* Fix GitHub Actions noise about "Node.js 20 actions are deprecated." which is a pointless and confusing treadmill about internal primitives like "checkout" and "setup-node" which are not simple shell scripts but instead full containers that themselves utilize Node.js internally. No user should have to care about this, and the warnings ideally either would not exist, have a stable subset, or at the very least refer to the action/v4 being deprecated instead of confusing details about what those are internally made of. Ref https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ * Fix outdated Travis/Appveyor badges. * Update outdated Grunt badge Ref https://gruntjs.com/built-with-grunt-badge. * Remove lock file Ref https://timotijhof.net/posts/2024/lockfiles-for-apps-not-packages-still/
1 parent 03900b4 commit 268931b

6 files changed

Lines changed: 25 additions & 5588 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ jobs:
1818

1919
steps:
2020
- name: Clone repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v5
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v5
2525
with:
2626
node-version: ${{ matrix.node }}
2727

28-
- name: Install npm dependencies
29-
run: npm ci
28+
- run: npm install
3029

31-
- name: Run tests
32-
run: npm test
30+
- run: npm test
3331

3432
# We test multiple Windows shells because of prior stdout buffering issues
3533
# filed against Grunt. https://github.com/joyent/node/issues/3584

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
/node_modules
2+
/package-lock.json
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
v2.0.1:
2-
date: 2021-04-22
3-
changes:
1+
- v2.0.1:
2+
- date: 2021-04-22
3+
- changes:
44
- Update dependencies
55
- Fix security warnings
6-
v2.0.0:
7-
date: 2020-08-18
8-
changes:
6+
- v2.0.0:
7+
- date: 2020-08-18
8+
- changes:
99
- Update dependencies
1010
- Fix Buffer warnings by switching to Buffer.from()
1111
- Avoid detecting AsyncFunction as a generic object
12-
v1.1.1:
13-
date: 2018-05-21
14-
changes:
12+
- v1.1.1:
13+
- date: 2018-05-21
14+
- changes:
1515
- Fixes lodash versioning
1616

17-
v1.1.0:
18-
date: 2018-05-19
19-
changes:
17+
- v1.1.0:
18+
- date: 2018-05-19
19+
- changes:
2020
- Security fixes
2121

22-
v1.0.0:
23-
date: 2016-04-03
24-
changes:
22+
- v1.0.0:
23+
- date: 2016-04-03
24+
- changes:
2525
- test fixes for Windows
2626
- update to use the svg badge

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
[![Build Status](https://github.com/gruntjs/grunt-legacy-util/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-legacy-util/actions?workflow=Tests)
2+
[![Built with Grunt](https://gruntjs.com/builtwith.svg)](https://gruntjs.com/)
3+
[![npm](https://img.shields.io/npm/v/grunt-legacy-util.svg?style=flat)](https://www.npmjs.com/package/grunt-legacy-util)
4+
15
# grunt-legacy-util
26
> deprecated utilities from grunt
37
4-
[![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-legacy-util.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-legacy-util)
5-
[![Build status: Windows](https://ci.appveyor.com/api/projects/status/63a5pjh5hy0wgtx0/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-legacy-util/branch/master)
6-
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](http://gruntjs.com/)
7-
88
With the next major release of Grunt, we will no longer support these APIs. Where possible, please use the recommended modules in their place. If you would like to support or improve any of these APIs, please notify us when you have published a backwards compatible npm module—we will then recommend its usage here.
99

1010
`grunt.util.namespace` use [getobject]

0 commit comments

Comments
 (0)