f2b87bb2c2
commit 446068aff1ec25da69c5b6af6d01dd19b230b4b2 Author: Alena Sviridenko <alenasviridenko@github.com> Date: Tue Jun 22 17:51:35 2021 +0300 updated headers commit d7e254e6e9534bb627373b7e40400cc45a888815 Author: Alena Sviridenko <alenasviridenko@github.com> Date: Thu Jun 17 17:35:34 2021 +0300 updated links commit ffd9956eda8c43e846f3305bad21fa064b07280f Author: AlyonaSviridenko <alenasviridenko@github.com> Date: Thu Jun 17 17:33:41 2021 +0300 Added advanced usage commit 1e068f031030962d380a1bae32beb806d1c6f818 Author: AlyonaSviridenko <alenasviridenko@github.com> Date: Thu Jun 17 15:07:42 2021 +0300 Updated readme with caching commit 7528c3399a9c8e0b4e63f7a079e0078af6b92d6a Author: Maxim Lobanov <v-malob@microsoft.com> Date: Wed Jun 16 14:43:46 2021 +0300 Update versions.yml
113 lines
2.8 KiB
YAML
113 lines
2.8 KiB
YAML
name: versions
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
branches:
|
|
- main
|
|
- releases/*
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
local-cache:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
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 }}"
|
|
shell: bash
|
|
|
|
manifest:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
node-version: [10.15, 12.16.0, 14.2.0]
|
|
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
|
|
|
|
check-latest:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
node-version: [10, 11, 12, 14]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Node and check latest
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
check-latest: true
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
node-dist:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
node-version: [11, 13]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Node from dist
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
old-versions:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
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
|
|
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"
|
|
shell: bash
|