Skip to content

Commit

Permalink
test-ci.yml: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Nov 10, 2024
1 parent 0a22523 commit 83ac71c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ name: Node.js CI on Push
on:
push:
branches:
- '**'
- 'master'
- 'development'
tags-ignore:
- '**'
paths-ignore:
Expand All @@ -24,9 +25,8 @@ on:
- '.gitignore'
- '.npmignore'
- '.vscode/**'
- 'README*'
- 'NOTES.md'
- 'CHANGELOG.md'
- '.github/FUNDING.yml'
- 'typedoc.json'

jobs:
npm-test:
Expand All @@ -35,16 +35,17 @@ jobs:

strategy:
matrix:
# nvm ls-remote --lts
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
os: [ ubuntu-24.04, macos-13, macos-14, windows-2022 ]
# https://github.com/actions/setup-node
node-version: [ 18, 20, 22 ]
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
os: [ ubuntu-24.04, macos-13, macos-14, windows-2022 ]

steps:
- name: Checkout
# https://github.com/actions/checkout
uses: actions/checkout@v4
with:
fetch-depth: 3

- name: Setup Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
# https://github.com/actions/setup-node
Expand All @@ -63,3 +64,5 @@ jobs:

- name: Run tests
run: npm run test
env:
CI: true

0 comments on commit 83ac71c

Please sign in to comment.