-
Notifications
You must be signed in to change notification settings - Fork 32
30 lines (30 loc) · 895 Bytes
/
nodejs.yml
File metadata and controls
30 lines (30 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
node-version: [4.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x]
python-version: [2.6, 2.7, 3.6, 3.7, 3.8, 3.9, 3.10]
# @TODO 2.6
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: python -V && node --version
- run: npm install -d
# - run: npm run build --if-present
- run: npm test