Skip to content

Commit

Permalink
chore: Update CI config (#75)
Browse files Browse the repository at this point in the history
* remove `CI: true` since it's already set by the runner
* remove Node.js 13 and add 14
* update to `actions/setup-node@v2`
* remove version info
* switch to Node.js 14 for Coveralls
  • Loading branch information
XhmikosR authored Apr 10, 2021
1 parent fb08a30 commit 79eddb0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Tests

on: [push, pull_request]
env:
CI: true

jobs:
run:
Expand All @@ -11,21 +10,18 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [8.6, 10, 12, 13]
node: [8.6, 10, 12, 14]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

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

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm install

Expand All @@ -35,6 +31,6 @@ jobs:
- name: Run Coveralls
# `master` should be a tag but they don't have one
uses: coverallsapp/github-action@master
if: startsWith(matrix.os, 'ubuntu') && matrix.node == 12
if: startsWith(matrix.os, 'ubuntu') && matrix.node == 14
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 79eddb0

Please sign in to comment.