mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 17:26:27 +00:00
33 lines
525 B
YAML
33 lines
525 B
YAML
|
|
|
|
name: version-file-test
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
branches: [ add-node-version-file-support ]
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
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'
|
|
- run: npm ci
|
|
- run: npm run build
|