Skip to content

Commit

Permalink
Don't test legacy Node.js versions on GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Aug 14, 2020
1 parent 8ee1da2 commit f4fc5a6
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/ci.yml
Expand Up @@ -17,26 +17,3 @@ jobs:
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

legacy-node-version-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [6.x, 8.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta # Build Babel on latest node versions
- name: Build
run: |
BABEL_ENV=test-legacy make -j bootstrap
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: Test on node.js ${{ matrix.node-version }}
# Hack: --color has supports-color@5 returned true for GitHub CI
# Remove once `chalk` is bumped to 4.0.
run: |
BABEL_ENV=test node ./node_modules/.bin/jest --ci --color

0 comments on commit f4fc5a6

Please sign in to comment.