Skip to content

Commit 20259e9

Browse files
committed
Add node files for CI, update readme to reference new action
1 parent 68529aa commit 20259e9

File tree

3 files changed

+40
-7
lines changed

3 files changed

+40
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ See [action.yml](action.yml)
3535

3636
<!-- start usage -->
3737
```yaml
38-
- uses: actions/setup-node@v6
38+
- uses: linz/setup-node@XXX
3939
with:
4040
# Version Spec of the version to use in SemVer notation.
4141
# It also admits such aliases as lts/*, latest, nightly and canary builds
@@ -117,7 +117,7 @@ See [action.yml](action.yml)
117117
```yaml
118118
steps:
119119
- uses: actions/checkout@v5
120-
- uses: actions/setup-node@v6
120+
- uses: linz/setup-node@XXX
121121
with:
122122
node-version: 24
123123
- run: npm ci
@@ -166,7 +166,7 @@ See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` in
166166
```yaml
167167
steps:
168168
- uses: actions/checkout@v5
169-
- uses: actions/setup-node@v6
169+
- uses: linz/setup-node@XXX
170170
with:
171171
node-version: 24
172172
cache: 'npm'
@@ -179,7 +179,7 @@ steps:
179179
```yaml
180180
steps:
181181
- uses: actions/checkout@v5
182-
- uses: actions/setup-node@v6
182+
- uses: linz/setup-node@XXX
183183
with:
184184
node-version: 24
185185
cache: 'npm'
@@ -195,7 +195,7 @@ This behavior is controlled by the `package-manager-cache` input, which defaults
195195
```yaml
196196
steps:
197197
- uses: actions/checkout@v5
198-
- uses: actions/setup-node@v6
198+
- uses: linz/setup-node@XXX
199199
with:
200200
package-manager-cache: false
201201
- run: npm ci
@@ -215,7 +215,7 @@ jobs:
215215
steps:
216216
- uses: actions/checkout@v5
217217
- name: Setup node
218-
uses: actions/setup-node@v6
218+
uses: linz/setup-node@XXX
219219
with:
220220
node-version: ${{ matrix.node }}
221221
- run: npm ci
@@ -229,7 +229,7 @@ jobs:
229229
To get a higher rate limit, you can [generate a personal access token on github.com](https://github.com/settings/tokens/new) and pass it as the `token` input for the action:
230230

231231
```yaml
232-
uses: actions/setup-node@v6
232+
uses: linz/setup-node@XXX
233233
with:
234234
token: ${{ secrets.GH_DOTCOM_TOKEN }}
235235
node-version: 24

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "action-setup-node",
3+
"version": "1.0.0",
4+
"description": "[![basic-validation](https://github.com/actions/setup-node/actions/workflows/basic-validation.yml/badge.svg)](https://github.com/actions/setup-node/actions/workflows/basic-validation.yml)\r [![versions](https://github.com/actions/setup-node/actions/workflows/versions.yml/badge.svg)](https://github.com/actions/setup-node/actions/workflows/versions.yml)\r [![e2e-cache](https://github.com/actions/setup-node/actions/workflows/e2e-cache.yml/badge.svg?branch=main)](https://github.com/actions/setup-node/actions/workflows/e2e-cache.yml)\r [![proxy](https://github.com/actions/setup-node/actions/workflows/proxy.yml/badge.svg)](https://github.com/actions/setup-node/actions/workflows/proxy.yml)",
5+
"homepage": "https://github.com/linz/action-setup-node#readme",
6+
"bugs": {
7+
"url": "https://github.com/linz/action-setup-node/issues"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/linz/action-setup-node.git"
12+
},
13+
"license": "ISC",
14+
"author": "",
15+
"type": "commonjs",
16+
"main": "index.js",
17+
"scripts": {
18+
"test": "echo \"Error: no test specified\" && exit 1"
19+
}
20+
}

0 commit comments

Comments
 (0)