mirror of
https://github.com/actions/setup-node.git
synced 2025-07-02 23:53:48 +00:00
update workflows
This commit is contained in:
parent
e3ad114cc4
commit
2fb08c4f31
4 changed files with 134 additions and 100 deletions
46
.github/workflows/versions.yml
vendored
Normal file
46
.github/workflows/versions.yml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
name: versions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/*
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
versions:
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest, windows-latest]
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
# test version from node manifest
|
||||
- name: Setup node 12 from manifest
|
||||
uses: ./
|
||||
with:
|
||||
node-version: 12
|
||||
- name: Verify node and npm
|
||||
run: __tests__/verify-node.sh 12
|
||||
# test version that falls through to node dist
|
||||
- name: Setup node 11 from dist
|
||||
uses: ./
|
||||
with:
|
||||
node-version: 11
|
||||
- name: Verify node and npm
|
||||
run: __tests__/verify-node.sh 11
|
||||
- name: Setup node 0.12.18 from dist
|
||||
uses: ./
|
||||
with:
|
||||
node-version: 0.12.18
|
||||
- name: Verify node
|
||||
shell: bash
|
||||
run: __tests__/verify-node.sh 0.12.18 SKIP_NPM
|
Loading…
Add table
Add a link
Reference in a new issue