mirror of
https://github.com/actions/setup-node.git
synced 2025-07-04 00:24:58 +00:00
add nightly build support
This commit is contained in:
parent
8c91899e58
commit
ccb6d0562b
3 changed files with 81 additions and 20 deletions
20
.github/workflows/versions.yml
vendored
20
.github/workflows/versions.yml
vendored
|
@ -51,6 +51,26 @@ jobs:
|
|||
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
||||
shell: bash
|
||||
|
||||
nightly-syntax:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
node-version: [17-nightly, 18-nightly, 19-nightly]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node
|
||||
uses: ./
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Verify node and npm
|
||||
run: |
|
||||
nightlyVersion="${{ matrix.node-version }}"
|
||||
majorVersion=$(echo $nightlyVersion | cut -d- -f1)
|
||||
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
||||
shell: bash
|
||||
|
||||
manifest:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue