Skip to content

Commit 2a87620

Browse files
authored
chore: update node versions in Actions matrix (& enable macos) (#131)
1 parent 401e31b commit 2a87620

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test-and-release.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
node: [14, 16]
11+
node: [14, 16, current, lts/*]
1212
# windows support not quite ready: os: [ubuntu-latest, windows-latest]
13-
os: [ubuntu-latest]
13+
os: [ubuntu-latest, macos-latest]
1414

1515
steps:
1616
- name: Clone repository
@@ -36,6 +36,12 @@ jobs:
3636
echo '{"user": "nodejs", "token": "'${{ secrets.GITHUB_TOKEN }}'"}' > ~/.config/changelog-maker/config.json
3737
if: startsWith(matrix.os, 'ubuntu')
3838

39+
- name: Set up ghauth config (macOS)
40+
run: |
41+
mkdir -p ~/Library/Application\ Support/changelog-maker/
42+
echo '{"user": "nodejs", "token": "'${{ secrets.GITHUB_TOKEN }}'"}' > ~/Library/Application\ Support/changelog-maker/config.json
43+
if: startsWith(matrix.os, 'macos')
44+
3945
- name: Set up ghauth config (Windows)
4046
run: |
4147
mkdir "%LOCALAPPDATA%\changelog-maker\"
@@ -61,7 +67,7 @@ jobs:
6167
- name: Setup Node.js
6268
uses: actions/setup-node@v3
6369
with:
64-
node-version: 14
70+
node-version: lts/*
6571

6672
- name: Install dependencies
6773
run: |

0 commit comments

Comments
 (0)