mirror of
https://gitea.com/actions/setup-node.git
synced 2025-09-10 18:25:11 +08:00
Compare commits
32 Commits
v2.0.0
...
node-versi
Author | SHA1 | Date | |
---|---|---|---|
|
e73ffbcdec | ||
|
2ae9264901 | ||
|
2a0fbec10d | ||
|
0a9e8b1d0f | ||
|
a875da2574 | ||
|
a80a170798 | ||
|
5e7b076d00 | ||
|
8e221092f3 | ||
|
6a1b66a606 | ||
|
9fcef3fcea | ||
|
beb2155295 | ||
|
11f920585c | ||
|
dd6f5ab66c | ||
|
f7c5caf605 | ||
|
a4145577de | ||
|
42746a4f3c | ||
|
c8617ac6ae | ||
|
1b2d431484 | ||
|
5e5ef8fd55 | ||
|
2fb08c4f31 | ||
|
e3ad114cc4 | ||
|
501fd29d66 | ||
|
2bdb2ab1c9 | ||
|
ed3a918d25 | ||
|
efab84ad3c | ||
|
8a1d983ace | ||
|
22c0aea623 | ||
|
1c2f59fb67 | ||
|
ec6092f7d2 | ||
|
889def385d | ||
|
8885b7194e | ||
|
ecf0ce62f9 |
@@ -7,8 +7,7 @@
|
|||||||
This action sets by node environment for use in actions by:
|
This action sets by node environment for use in actions by:
|
||||||
|
|
||||||
- optionally downloading and caching a version of node - npm by version spec and add to PATH
|
- optionally downloading and caching a version of node - npm by version spec and add to PATH
|
||||||
- registering problem matchers for error output
|
- registering problem matchers for error output
|
||||||
- configuring authentication for GPR or npm
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
@@ -20,7 +19,7 @@ steps:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '10.x'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm test
|
- run: npm test
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user