-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration from Travis to GitHub Actions (b85a521), also engine versions are now updated with a known limitation for Node@22 and Node@23 ([see](#7)). Also replace build sticker in the `README.md`
- Loading branch information
1 parent
1046de8
commit 25e45e2
Showing
3 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
# TODO: Include 22 and 23 when https://github.com/yeoman/yeoman-welcome/issues/7 is fixed | ||
node: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21] | ||
exclude: | ||
# Avoid Error: Unable to find Node versions for platform darwin and architecture arm64: | ||
# @SEE: https://github.com/yeoman/yeoman-welcome/actions/runs/12846318454/job/35821411749?pr=6 | ||
- os: macos-latest | ||
node: 8 | ||
- os: macos-latest | ||
node: 9 | ||
- os: macos-latest | ||
node: 10 | ||
- os: macos-latest | ||
node: 11 | ||
- os: macos-latest | ||
node: 12 | ||
- os: macos-latest | ||
node: 13 | ||
- os: macos-latest | ||
node: 14 | ||
- os: macos-latest | ||
node: 15 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Run tests | ||
run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters