2020-05-19 15:25:54 +02:00
|
|
|
name: versions
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
push:
|
|
|
|
branches:
|
2020-07-22 14:12:24 +02:00
|
|
|
- main
|
2020-05-19 15:25:54 +02:00
|
|
|
- releases/*
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
|
|
|
|
jobs:
|
2020-06-29 20:56:37 +02:00
|
|
|
local-cache:
|
2021-01-20 20:15:22 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-05-19 15:25:54 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-01-20 20:15:22 +01:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: [10, 12, 14]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Node
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Verify node and npm
|
|
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
2020-05-19 15:25:54 +02:00
|
|
|
shell: bash
|
2020-06-29 20:56:37 +02:00
|
|
|
|
2021-06-25 11:56:15 +02:00
|
|
|
lts-syntax:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
node-version: [lts/dubnium, lts/erbium, lts/fermium, lts/*]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Node
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Verify node and npm
|
|
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
|
|
shell: bash
|
|
|
|
|
2020-06-29 20:56:37 +02:00
|
|
|
manifest:
|
2021-01-20 20:15:22 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-06-29 20:56:37 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-01-20 20:15:22 +01:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: [10.15, 12.16.0, 14.2.0]
|
2020-05-19 15:25:54 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-06-29 20:56:37 +02:00
|
|
|
- name: Setup Node
|
2020-05-19 15:25:54 +02:00
|
|
|
uses: ./
|
|
|
|
with:
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: ${{ matrix.node-version }}
|
2020-05-19 15:25:54 +02:00
|
|
|
- name: Verify node and npm
|
2020-06-29 20:56:37 +02:00
|
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
check-latest:
|
2021-01-20 20:15:22 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-06-29 20:56:37 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-01-20 20:15:22 +01:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: [10, 11, 12, 14]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Node and check latest
|
|
|
|
uses: ./
|
2020-05-19 15:25:54 +02:00
|
|
|
with:
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
check-latest: true
|
|
|
|
- name: Verify node and npm
|
|
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
2020-05-19 15:25:54 +02:00
|
|
|
shell: bash
|
2020-06-29 20:56:37 +02:00
|
|
|
|
|
|
|
node-dist:
|
2021-01-20 20:15:22 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-06-29 20:56:37 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-01-20 20:15:22 +01:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: [11, 13]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Node from dist
|
2020-05-19 15:25:54 +02:00
|
|
|
uses: ./
|
|
|
|
with:
|
2020-06-29 20:56:37 +02:00
|
|
|
node-version: ${{ matrix.node-version }}
|
2020-05-19 15:25:54 +02:00
|
|
|
- name: Verify node and npm
|
2020-06-29 20:56:37 +02:00
|
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
old-versions:
|
2021-01-20 20:15:22 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-06-29 20:56:37 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-01-20 20:15:22 +01:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
2020-06-29 20:56:37 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
# test old versions which didn't have npm and layout different
|
|
|
|
- name: Setup node 0.12.18 from dist
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
node-version: 0.12.18
|
|
|
|
- name: Verify node
|
|
|
|
run: __tests__/verify-node.sh 0.12.18 SKIP_NPM
|
2020-12-09 20:28:47 +01:00
|
|
|
shell: bash
|
|
|
|
|
|
|
|
arch:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup node 12 x86 from dist
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
node-version: '12'
|
|
|
|
architecture: 'x86'
|
|
|
|
- name: Verify node
|
|
|
|
run: __tests__/verify-arch.sh "ia32"
|
2020-06-29 20:56:37 +02:00
|
|
|
shell: bash
|