Skip to content

Commit

Permalink
chore: update test workflow (#100)
Browse files Browse the repository at this point in the history
- Stop testing on EoL Node.js 10
- Test on Node.js 16
- Update actions/setup-node
  • Loading branch information
targos committed Oct 10, 2021
1 parent 64c1220 commit eaeb938
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
@@ -1,7 +1,6 @@
name: Tests

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

jobs:
run:
Expand All @@ -11,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
node: [12, 14, 16]
# windows support not quite ready: os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]

Expand All @@ -22,7 +21,7 @@ jobs:
- run: git fetch --prune --unshallow

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

Expand All @@ -39,7 +38,6 @@ jobs:
echo '{"user": "nodejs", "token": "'${{ secrets.GITHUB_TOKEN }}'"}' > ~/.config/changelog-maker/config.json
if: startsWith(matrix.os, 'ubuntu')


- name: Set up ghauth config (Windows)
run: |
mkdir "%LOCALAPPDATA%\changelog-maker\"
Expand Down

0 comments on commit eaeb938

Please sign in to comment.