Skip to content

Commit cd4c7a5

Browse files
committed
Node versions
1 parent 103d858 commit cd4c7a5

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,36 @@ jobs:
1212
run: env
1313
- name: Event data
1414
run: cat $GITHUB_EVENT_PATH
15+
- name: Check
16+
env:
17+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
run: |
19+
which node
20+
node --version
21+
echo "RUNNER_TOOL_CACHE=$RUNNER_TOOL_CACHE"
22+
ls "$RUNNER_TOOL_CACHE/node"
23+
curl https://api.github.com/rate_limit -u "token:$TOKEN"
24+
- uses: actions/setup-node@v3
25+
with:
26+
node-version: ^16.13.2
27+
- name: Check
28+
env:
29+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
run: |
31+
which node
32+
node --version
33+
echo "RUNNER_TOOL_CACHE=$RUNNER_TOOL_CACHE"
34+
ls "$RUNNER_TOOL_CACHE/node"
35+
curl https://api.github.com/rate_limit -u "token:$TOKEN"
36+
- uses: actions/setup-node@v3
37+
with:
38+
node-version: 16.13.2
39+
- name: Check
40+
env:
41+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: |
43+
which node
44+
node --version
45+
echo "RUNNER_TOOL_CACHE=$RUNNER_TOOL_CACHE"
46+
ls "$RUNNER_TOOL_CACHE/node"
47+
curl https://api.github.com/rate_limit -u "token:$TOKEN"

0 commit comments

Comments
 (0)