mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-09 05:31:11 +00:00
moved node version section in README to advanced usage
added link to README * migrated contents of version-file-workflow.yml to versions.yml * further refactored parseNodeVersionFile() & tests * removed type annotations in catch ()
This commit is contained in:
parent
e471f47826
commit
b1ed0c36e7
8 changed files with 113 additions and 17531 deletions
11
.github/workflows/versions.yml
vendored
11
.github/workflows/versions.yml
vendored
|
@ -78,6 +78,17 @@ jobs:
|
|||
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
||||
shell: bash
|
||||
|
||||
version-file:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup node test
|
||||
uses: ./
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
node-dist:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue