-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Get tests and builds working in current Node.js versions #195
Changes from 5 commits
8a4a744
94acb4e
7b77ecf
1e6bdba
72182e5
a16ed9c
53afb5e
160fc4c
bb00d41
f2bf952
03cffed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ indent_size = 2 | |
|
||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
[vendor/grunt-template-jasmine-requirejs/**/*] | ||
indent_size = 2 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,12 @@ jobs: | |
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 10 | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: 'package.json' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: npm install --legacy-peer-deps | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The As noted in the PR description, I actually think the best solution if we want to remove this is to drop grunt-template-jasmine-istanbul altogether. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sounds like something that would make contribution difficult though, it would be nice if this worked out of the box so that contributors can just run You can run (But as noted in my other comment - I think we should just drop this instead, so you don't actually need to do that unless there's some other legacy peer deps issue elsewhere too) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I had not thought about adding a |
||
|
||
- name: JSHint | ||
run: npm run lint | ||
|
@@ -37,12 +37,12 @@ jobs: | |
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 10 | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: 'package.json' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: npm install --legacy-peer-deps | ||
|
||
- name: Build | ||
run: npm run dist-build | ||
|
@@ -51,9 +51,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Ideally we'd also test on [12, 14, 16, 18, 20], but the current | ||
# tooling does not support them. | ||
node_version: [6, 8, 10] | ||
node_version: [6, 8, 10, 12, 14, 16, 18, 20] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -66,7 +64,7 @@ jobs: | |
cache-dependency-path: 'package.json' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: npm install --legacy-peer-deps | ||
|
||
- name: Unit Tests | ||
run: npm run test-node | ||
|
@@ -80,12 +78,12 @@ jobs: | |
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 8 | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: 'package.json' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: npm install --legacy-peer-deps | ||
|
||
- name: Unit Tests | ||
run: npm run test-browser | ||
|
@@ -99,12 +97,12 @@ jobs: | |
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 10 | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: 'package.json' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: npm install --legacy-peer-deps | ||
|
||
- name: Typescript Tests | ||
run: npm run test-types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably should have done this when I vendored grunt-template-jasmine-requirejs. It was helpful when I had to make changes. 🤷