Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
915 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | name: ci
|
---|
| 2 |
|
---|
| 3 | on: [push, pull_request]
|
---|
| 4 |
|
---|
| 5 | jobs:
|
---|
| 6 | legacy:
|
---|
| 7 | runs-on: ubuntu-latest
|
---|
| 8 |
|
---|
| 9 | strategy:
|
---|
| 10 | matrix:
|
---|
| 11 | node-version: ['0.10', '0.12', 4.x, 6.x, 8.x]
|
---|
| 12 |
|
---|
| 13 | steps:
|
---|
| 14 | - uses: actions/checkout@v2
|
---|
| 15 |
|
---|
| 16 | - name: Use Node.js
|
---|
| 17 | uses: actions/setup-node@v1
|
---|
| 18 | with:
|
---|
| 19 | node-version: ${{ matrix.node-version }}
|
---|
| 20 |
|
---|
| 21 | - name: Install
|
---|
| 22 | run: |
|
---|
| 23 | npm install --production && npm install tape
|
---|
| 24 |
|
---|
| 25 | - name: Run tests
|
---|
| 26 | run: |
|
---|
| 27 | npm run legacy
|
---|
| 28 |
|
---|
| 29 | test:
|
---|
| 30 | runs-on: ubuntu-latest
|
---|
| 31 |
|
---|
| 32 | strategy:
|
---|
| 33 | matrix:
|
---|
| 34 | node-version: [10.x, 12.x, 13.x, 14.x, 15.x, 16.x]
|
---|
| 35 |
|
---|
| 36 | steps:
|
---|
| 37 | - uses: actions/checkout@v2
|
---|
| 38 |
|
---|
| 39 | - name: Use Node.js
|
---|
| 40 | uses: actions/setup-node@v1
|
---|
| 41 | with:
|
---|
| 42 | node-version: ${{ matrix.node-version }}
|
---|
| 43 |
|
---|
| 44 | - name: Install
|
---|
| 45 | run: |
|
---|
| 46 | npm install
|
---|
| 47 |
|
---|
| 48 | - name: Run tests
|
---|
| 49 | run: |
|
---|
| 50 | npm run test
|
---|
Note:
See
TracBrowser
for help on using the repository browser.