Skip to content

Commit

Permalink
ci: support node-v8.x (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1991 authored Jul 9, 2021
1 parent 29cb57d commit 0765c4c
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/linux-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI-Linux-8

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 2 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: [8]
os: [ubuntu-latest]

steps:
- name: Checkout Git Source
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i npminstall -g && npminstall

- name: Continuous Integration
run: npm run ci

- name: Code Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
40 changes: 40 additions & 0 deletions .github/workflows/osx-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI-OSX-8

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 2 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: [8]
os: [macos-latest]

steps:
- name: Checkout Git Source
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i npminstall -g && npminstall

- name: Continuous Integration
run: npm run ci

- name: Code Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
40 changes: 40 additions & 0 deletions .github/workflows/windows-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI-Windows-8

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 2 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: [8]
os: [windows-latest]

steps:
- name: Checkout Git Source
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i npminstall -g && npminstall

- name: Continuous Integration
run: npm run ci

- name: Code Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

[npm-image]: https://img.shields.io/npm/v/egg-bin.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-bin
[github-actions]: https://github.com/eggjs/egg-bin/actions/workflows/nodejs.yml/badge.svg?branch=master
[github-actions-url]: https://github.com/eggjs/egg-bin/actions/workflows/nodejs.yml
[github-actions]: https://github.com/eggjs/egg-bin/actions/workflows/linux-14.yml/badge.svg?branch=master
[github-actions-url]: https://github.com/eggjs/egg-bin/actions/workflows/linux-14.yml
[codecov-image]: https://codecov.io/gh/eggjs/egg-bin/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/eggjs/egg-bin
[david-image]: https://img.shields.io/david/eggjs/egg-bin.svg?style=flat-square
Expand All @@ -20,6 +20,7 @@
[download-image]: https://img.shields.io/npm/dm/egg-bin.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-bin


egg developer tool, extends [common-bin].

---
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"globby": "^9.2.0",
"inspector-proxy": "^1.2.1",
"intelli-espower-loader": "^1.1.0",
"jest-changed-files": "^27.0.2",
"jest-changed-files": "^25.5.0",
"minimatch": "^3.0.4",
"mocha": "^6.0.2",
"mz-modules": "^2.1.0",
Expand Down

0 comments on commit 0765c4c

Please sign in to comment.