Expose the ability to select different architectures

This commit is contained in:
Tyler Ang-Wanek 2019-08-22 13:21:46 -07:00
parent e565252a9d
commit 3d0361d465
No known key found for this signature in database
GPG key ID: DED1387F8E0A5146
7 changed files with 84 additions and 35 deletions

View file

@ -7,7 +7,7 @@
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
- registering problem matchers for error output
- registering problem matchers for error output
# Usage
@ -100,6 +100,18 @@ steps:
- run: npm rebuild && npm run prepare --if-present
```
Specifying a different architecture than the system architecture:
```yaml
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '10.x'
node-arch: 'x86'
- run: npm install
- run: npm test
```
# License