Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-22-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-20-
${{ runner.os }}-node-22-

- run: cd testapp3 && npm ci && npm run setup && npm run lint

Expand Down Expand Up @@ -62,33 +62,34 @@
- run: cd testapp2 && npm ci && npm run setup && npm run test

test3:
name: Meteor package tests 3.0.2
name: Meteor package tests 3.x
needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix:
meteorRelease:
- '3.0.2'
- '3.4'
steps:
Comment on lines 69 to 73
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The meteorRelease matrix likely won’t actually control which Meteor version runs because the app is pinned to METEOR@3.4 in testapp3/.meteor/release and the meteor test-packages command isn’t passed --release ${{ matrix.meteorRelease }} (or equivalent). This can cause the 3.0.2 matrix entry to still run Meteor 3.4 (or fail due to release mismatch), reducing the value of the matrix. Consider invoking meteor --release ${{ matrix.meteorRelease }} test-packages ... or rewriting testapp3/.meteor/release per matrix entry before running tests.

Copilot uses AI. Check for mistakes.
- name: Checkout code
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Setup meteor ${{ matrix.meteorRelease }}
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: ${{ matrix.meteorRelease }}

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-22-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-20-
${{ runner.os }}-node-22-

- run: cd testapp3 && npm ci && npm run setup && npm run test

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
14 changes: 7 additions & 7 deletions testapp3/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

meteor-base@1.5.2 # Packages every Meteor app needs to have
mobile-experience@1.1.2 # Packages for a great mobile UX
mongo@2.0.1 # The database Meteor supports right now
static-html@1.3.3 # Define static page content in .html files
mongo@2.2.0 # The database Meteor supports right now
static-html@1.5.0 # Define static page content in .html files
reactive-var@1.0.13 # Reactive variable for tracker
tracker@1.3.4 # Meteor's client-side reactive programming library

standard-minifier-css@1.9.3 # CSS minifier run for production mode
standard-minifier-js@3.0.0 # JS minifier run for production mode
standard-minifier-css@1.10.0 # CSS minifier run for production mode
standard-minifier-js@3.2.0 # JS minifier run for production mode
es5-shim@4.8.1 # ECMAScript 5 compatibility for older browsers
ecmascript@0.16.9 # Enable ECMAScript2015+ syntax in app code
typescript@5.4.3 # Enable TypeScript syntax in .ts and .tsx modules
shell-server@0.6.0 # Server-side component of the `meteor shell` command
ecmascript@0.17.0 # Enable ECMAScript2015+ syntax in app code
typescript@5.9.3 # Enable TypeScript syntax in .ts and .tsx modules
shell-server@0.7.0 # Server-side component of the `meteor shell` command
2 changes: 1 addition & 1 deletion testapp3/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@3.0.2
METEOR@3.4
72 changes: 33 additions & 39 deletions testapp3/.meteor/versions
Original file line number Diff line number Diff line change
@@ -1,70 +1,64 @@
allow-deny@2.0.0
autoupdate@2.0.0
babel-compiler@7.11.0
allow-deny@2.1.0
autoupdate@2.0.1
babel-compiler@7.13.0
babel-runtime@1.5.2
base64@1.0.13
binary-heap@1.0.12
blaze-tools@2.0.0
boilerplate-generator@2.0.0
caching-compiler@2.0.0
caching-html-compiler@2.0.0
callback-hook@1.6.0
check@1.4.2
boilerplate-generator@2.1.0
caching-compiler@2.0.1
callback-hook@1.6.1
check@1.5.0
core-runtime@1.0.0
ddp@1.4.2
ddp-client@3.0.1
ddp-client@3.1.1
ddp-common@1.4.4
ddp-server@3.0.1
ddp-server@3.1.2
diff-sequence@1.1.3
dynamic-import@0.7.4
ecmascript@0.16.9
ecmascript-runtime@0.8.2
ecmascript-runtime-client@0.12.2
ecmascript@0.17.0
ecmascript-runtime@0.8.3
ecmascript-runtime-client@0.12.3
ecmascript-runtime-server@0.11.1
ejson@1.1.4
ejson@1.1.5
es5-shim@4.8.1
facts-base@1.0.2
fetch@0.1.5
fetch@0.1.6
geojson-utils@1.0.12
hot-code-push@1.0.5
html-tools@2.0.0
htmljs@2.0.1
id-map@1.2.0
inter-process-messaging@0.1.2
launch-screen@2.0.1
logging@1.3.5
meteor@2.0.1
logging@1.3.6
meteor@2.2.0
meteor-base@1.5.2
minifier-css@2.0.0
minifier-js@3.0.0
minimongo@2.0.1
minifier-css@2.0.1
minifier-js@3.1.0
minimongo@2.0.5
mobile-experience@1.1.2
mobile-status-bar@1.1.1
modern-browsers@0.1.11
modules@0.20.1
modern-browsers@0.2.3
modules@0.20.3
modules-runtime@0.13.2
mongo@2.0.1
mongo-decimal@0.1.4-beta300.7
mongo@2.2.0
mongo-decimal@0.2.0
mongo-dev-server@1.1.1
mongo-id@1.0.9
npm-mongo@4.17.4
npm-mongo@6.16.1
ordered-dict@1.2.0
promise@1.0.0
random@1.2.2
react-fast-refresh@0.2.9
react-fast-refresh@0.3.0
reactive-var@1.0.13
reload@1.3.2
retry@1.1.1
routepolicy@1.1.2
shell-server@0.6.0
socket-stream-client@0.5.3
spacebars-compiler@2.0.0
standard-minifier-css@1.9.3
standard-minifier-js@3.0.0
static-html@1.3.3
templating-tools@2.0.0
shell-server@0.7.0
socket-stream-client@0.6.1
standard-minifier-css@1.10.0
standard-minifier-js@3.2.0
static-html@1.5.0
static-html-tools@1.0.0
tracker@1.3.4
typescript@5.4.3
underscore@1.6.4
webapp@2.0.1
typescript@5.9.3
webapp@2.1.0
webapp-hashing@1.1.2
Loading
Loading