Skip to content

Commit

Permalink
Merge branch 'Meteor-Community-Packages:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
9Morello authored Dec 12, 2024
2 parents 5452584 + bb64c2f commit e07cedd
Show file tree
Hide file tree
Showing 8 changed files with 933 additions and 529 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
2 changes: 1 addition & 1 deletion .github/workflows/comment-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create Comment
uses: peter-evans/create-or-update-comment@v1.4.2
uses: peter-evans/create-or-update-comment@v4.0.0
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24

- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-20-
${{ runner.os }}-node-24-
- run: |
npm ci
Expand Down
3 changes: 2 additions & 1 deletion check-npm-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface indexAny {
// - version# if incompatible version is installed
const compatibleVersionIsInstalled = (name: string, range: string | semver.Range): boolOrString => {
try {
// eslint-disable-next-line
const installedVersion = require(`${name}/package.json`).version;
if (semver.satisfies(installedVersion, range)) {
return true;
Expand Down Expand Up @@ -70,7 +71,7 @@ export const checkNpmVersions = (packages: indexAny, packageName: string): void
${errors.join('\n')}
Read more about installing npm peer dependencies:
http://guide.meteor.com/using-packages.html#peer-npm-dependencies
https://guide.meteor.com/using-packages.html#peer-npm-dependencies
`);
}
};
Loading

0 comments on commit e07cedd

Please sign in to comment.