Skip to content

Add MIT license

Add MIT license #18

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
env:
NVM_NODE_VERSION: v20.9.0
jobs:
linux-lts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: lts/*
- name: Check
run: |
which node
node -v
which npm
npm -v
linux-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: node
- name: Check
run: |
which node
node -v
which npm
npm -v
linux-exact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: "10.0.0"
- name: Check
run: |
which node
node -v
which npm
npm -v
if [ $(node -v) != "v10.0.0" ]; then
exit 1;
fi
linux-nvmrc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: ./
- name: Check
run: |
which node
node -v
which npm
npm -v
if [ $(node -v) != "$NVM_NODE_VERSION" ]; then
exit 1;
fi
windows-lts:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: lts/*
- name: Check
run: |
node -v
npm -v
windows-stable:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: node
- name: Check
run: |
node -v
npm -v
windows-exact:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: "10.0.0"
- name: Check
run: |
node -v
npm -v
macos-lts:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: lts/*
- name: Check
run: |
node -v
npm -v
macos-stable:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: node
- name: Check
run: |
node -v
npm -v
macos-exact:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: ./
with:
node-version: "10.0.0"
- name: Check
run: |
node -v
npm -v
macos-nvmrc:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: ./
- name: Check
run: |
node -v
npm -v
if [ $(node -v) != "$NVM_NODE_VERSION" ]; then
exit 1;
fi