Change docs

This commit is contained in:
Sergey Dolin 2022-11-09 20:43:04 +01:00
parent 3e844cd766
commit 21a386952d
2 changed files with 62 additions and 9 deletions

View file

@ -104,6 +104,58 @@ jobs:
- run: npm test
```
## V8 Canary versions
You can specify a nightly version to download it from https://nodejs.org/download/v8-canary.
### Install v8 canary build for specific node version
```yaml
jobs:
build:
runs-on: ubuntu-latest
name: Node sample
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.0.0-v8-canary' # it will install the latest v8 canary release for node 20.0.0
- run: npm ci
- run: npm test
```
### Install v8 canary build for major node version
>>>>>>> d703091 (Change docs)
```yaml
jobs:
build:
runs-on: ubuntu-latest
name: Node sample
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20-v8-canary' # it will install the latest v8 canary release for node 20
- run: npm ci
- run: npm test
```
### Install the exact v8 canary version
```yaml
jobs:
build:
runs-on: ubuntu-latest
name: Node sample
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'v20.1.1-v8-canary20221103f7e2421e91'
- run: npm ci
- run: npm test
```
## Nightly versions
You can specify a nightly version to download it from https://nodejs.org/download/nightly.