mirror of
https://gitea.com/actions/setup-node.git
synced 2025-04-23 09:15:38 +08:00
Add v8 canary tests to workflow
This commit is contained in:
parent
588599b944
commit
3e844cd766
20
.github/workflows/versions.yml
vendored
20
.github/workflows/versions.yml
vendored
@ -51,6 +51,26 @@ jobs:
|
|||||||
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
v8-canary-syntax:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
node-version: ['20-v8-canary', '20.0-v8-canary', '20.0.0-v8-canary','20.0.0-v8-canary20221103f7e2421e91']
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Setup Node
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Verify node and npm
|
||||||
|
run: |
|
||||||
|
canaryVersion="${{ matrix.node-version }}"
|
||||||
|
majorVersion=$(echo $canaryVersion | cut -d- -f1)
|
||||||
|
__tests__/verify-node.sh "$majorVersion"
|
||||||
|
shell: bash
|
||||||
|
|
||||||
nightly-syntax:
|
nightly-syntax:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user