Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
setup-node/.github/workflows/versions.yml
View runs Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
47 lines (45 sloc)
1.17 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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 | |
# 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 | |
shell: bash | |
run: __tests__/verify-node.sh 0.12.18 SKIP_NPM | |
# test version from node manifest | |
- name: Setup node 12.16.2 from manifest | |
uses: ./ | |
with: | |
node-version: 12.16.2 | |
- name: Verify node and npm | |
run: __tests__/verify-node.sh 12 |