Skip to content
Open
Show file tree
Hide file tree
Changes from 187 commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
9ab7ce2
Merge pull request #1 from wojtkowiak/master
KoenLav Nov 23, 2020
cfd60a2
fixes for meteor 2.6. update shelljs to 0.8.5, fix bundler plugin. ve…
ejfrancis Feb 14, 2022
520b891
changelog
ejfrancis Feb 14, 2022
1e57da4
re-enable logDebug
ejfrancis Feb 14, 2022
5440c8d
rm temp log
ejfrancis Feb 14, 2022
26a05ae
changes to publish under new npm and atmosphere package names under @…
ejfrancis Feb 15, 2022
2f81710
devEntSetup use Meteor 2.6
ejfrancis Feb 15, 2022
225831c
package-lock update and package.json name + version
ejfrancis Feb 22, 2022
fd17d71
update chokidar to 3.x in packages
ejfrancis Feb 22, 2022
8c02c68
Update namespace for community packages
StorytellerCZ Apr 11, 2022
b3c2f4c
Bump to v3
StorytellerCZ Apr 11, 2022
c3fa055
Merge pull request #7 from evan-coygo/fix/meteor-2.6
StorytellerCZ Apr 11, 2022
366ce44
Merge branch 'fix/meteor-2.6'
StorytellerCZ Apr 11, 2022
c5f4851
Fix date in changelog
StorytellerCZ Apr 11, 2022
db041ec
Release communitypackages:meteor-desktop-watcher@3.0.1
StorytellerCZ Apr 12, 2022
ad968c6
Publish v3.0.1
StorytellerCZ Apr 12, 2022
c07f58e
Published communitypackages:meteor-desktop-bundler@3.0.1.
StorytellerCZ Apr 12, 2022
c698093
Update default Electron dependencies
StorytellerCZ Apr 12, 2022
72c86f2
Fix tiny lint issue
StorytellerCZ Apr 12, 2022
a45c69a
Github settings improvements
StorytellerCZ Apr 12, 2022
3816214
Merge branch 'master' into feature/electron-11
StorytellerCZ Apr 12, 2022
fad7ef6
Update Travis and Circle CI testing
StorytellerCZ Apr 12, 2022
68f7c7b
Run tests on Node 14 to match Meteor
StorytellerCZ Apr 12, 2022
bc85960
fix issue with single instance, which prevents desktop app from starting
marozartsem9 Aug 29, 2022
f1ff6d0
Path and feature dependencies udpate
StorytellerCZ Aug 29, 2022
6e6db6b
Merge branch 'feature/electron-11' into feature/update-electron-to-11.5
StorytellerCZ Aug 29, 2022
911b6bc
Merge pull request #10 from arty-ms/feature/update-electron-to-11.5
StorytellerCZ Aug 29, 2022
562fa6f
Update packages versions
StorytellerCZ Aug 29, 2022
78afd3f
Try updating to electron 14
StorytellerCZ Aug 29, 2022
f67d7a4
Revert "Run tests on Node 14 to match Meteor"
StorytellerCZ Apr 12, 2022
c479407
Bolder dep updates
StorytellerCZ Aug 29, 2022
45244a0
Update send dependency
StorytellerCZ Aug 29, 2022
765b119
Try updating electron builder
StorytellerCZ Aug 29, 2022
19632f3
Try updating electron-builder to fix fs issue
StorytellerCZ Aug 29, 2022
861654c
Update meteorProject test to 1.12
StorytellerCZ Aug 29, 2022
2485544
Update spectron for the the correct version of Electron
StorytellerCZ Aug 29, 2022
1cd332a
Update spectron to correct version for electron release
StorytellerCZ Aug 29, 2022
5844de5
Merge pull request #8 from Meteor-Community-Packages/feature/electron-11
StorytellerCZ Sep 3, 2022
c8501ef
Attempt fix suggested in #12
StorytellerCZ Sep 8, 2022
1e4355d
fix issue with single instance, which causes error with opening alrea…
marozartsem9 Sep 15, 2022
1372149
feature(ci): add comment issue workflow
jankapunkt Dec 6, 2022
34aeaba
Merge pull request #16 from Meteor-Community-Packages/ci-comment-issue
StorytellerCZ Dec 31, 2022
306d3d0
Merge branch 'master' into fix/fix-windows-single-instance-lock
StorytellerCZ Dec 31, 2022
9b6753e
Merge pull request #14 from arty-ms/fix/fix-windows-single-instance-lock
StorytellerCZ Jan 31, 2023
8966e10
Merge branch 'master' into fix/bug-12
StorytellerCZ Jan 31, 2023
926e29d
Merge branch 'master' into feature/electron-14
StorytellerCZ Jan 31, 2023
3d2c8be
Update changelog
StorytellerCZ Jan 31, 2023
d8c36fc
Fix changelog typos
StorytellerCZ Jan 31, 2023
c40f260
Update Circle CI config
StorytellerCZ Jan 31, 2023
4161bab
fix: Mitigate production vulnrabilities
pmtkh Apr 4, 2023
f521b19
delete dist dir
pmtkh Apr 5, 2023
7c64e3e
Update gitignore, config.yml
pmtkh Apr 5, 2023
42ce4fe
Support for fetch added to meteor protocol.
MatejJan Apr 14, 2023
6f1390b
Merge pull request #19 from Retronator/support-fetch-api
StorytellerCZ May 7, 2023
038dbb3
Merge pull request #17 from tkhtechnology/MX002-8368_clean
StorytellerCZ May 7, 2023
e4953b6
Merge remote-tracking branch 'origin/master' into fix/bug-12
StorytellerCZ May 7, 2023
a5027b6
Migrate to Meteor's updated reify & update deps
StorytellerCZ May 7, 2023
0edc22e
Add Acorn
StorytellerCZ May 7, 2023
01e8b77
Fixed missed reify dependency & up test to Meteor 2.6.1
StorytellerCZ May 7, 2023
2799faa
Fix reify call in integration test
StorytellerCZ May 7, 2023
a9f59ce
Merge remote-tracking branch 'origin/master' into feature/electron-14
StorytellerCZ May 7, 2023
1d04a58
Run build command before post install
harryadel Jul 16, 2023
b4cb738
Apply npm audit fix
harryadel Jul 16, 2023
cdf61f1
Revert change made by @StorytellerCZ
harryadel Jul 16, 2023
10b6860
Add GH test workflow
harryadel Jul 16, 2023
aed17f2
Update test.yml
harryadel Jul 16, 2023
6f421e6
Remove workflow directory
harryadel Jul 16, 2023
7e897a8
Split GH workflow into multiple jobs
harryadel Jul 17, 2023
dfd8083
Remove circle config
harryadel Jul 17, 2023
52b86ff
Remove travis
harryadel Jul 17, 2023
27acd8e
Skip Meteor installation step if cache exists
harryadel Jul 17, 2023
1f6db47
Revert any other updates but the CI changes
harryadel Jul 21, 2023
d88a3e1
Merge pull request #21 from harryadel/CI-update
StorytellerCZ Jul 21, 2023
fa9ded1
fix: do not download new version when desktopHCP is set to false
mjcctech Aug 8, 2023
f63f871
fix: settings
mjcctech Aug 8, 2023
43aed17
chore: fix tests
mjcctech Aug 8, 2023
866ec5c
chore: remove console.logs
mjcctech Aug 8, 2023
23d6b83
chore: remove redundant change
mjcctech Aug 9, 2023
95f724b
chore: remove commented code
mjcctech Aug 9, 2023
bb250b7
chore: fix tests
mjcctech Aug 11, 2023
f6f824a
Merge pull request #22 from tkhtechnology/MX002-9288
StorytellerCZ Aug 11, 2023
6cc22b7
Merge branch 'master' into fix/bug-12
StorytellerCZ Aug 30, 2023
648c984
Update dependencies
StorytellerCZ Aug 30, 2023
1ea4fc0
Sync babel preset env function signature
StorytellerCZ Aug 30, 2023
6bf85da
Downgrade node-fetch back to v2
dd137 Sep 26, 2023
703331f
Dynamically get the right preset-env version in electronApp&bundler
dd137 Sep 26, 2023
806feb8
bundler.js: Remove a debug console.log
dd137 Sep 26, 2023
9270ecb
devEnvSetup fix: Use global npm instead of .bin/npm (not part of mete…
dd137 Sep 21, 2023
0210082
devEnvSetup fix: Don't ignore question about whether to run tests
dd137 Sep 21, 2023
588485a
devEnvSetup fix: Remove localstorage test (not installed by devEnvSetup)
dd137 Sep 21, 2023
6e33414
devEnvSetup: Indicate default answer to questions
dd137 Sep 21, 2023
520f43e
r devEnvSetup: Replace var by const or let
dd137 Sep 21, 2023
fdfa5e6
README: Rewrite section on "Developing meteor-desktop" (aka devEnvSetup)
dd137 Sep 21, 2023
af2058e
README: Small adjustments in "Quick start" section
dd137 Sep 21, 2023
883f3bf
Merge pull request #25 from Meteor-Community-Packages/fix/preset-env-…
StorytellerCZ Sep 27, 2023
3cb03ce
devEnvSetup: Only run `desktop -- init-tests-support` just before `te…
dd137 Sep 28, 2023
5555193
devEnvSetup: Add comment about `npm run test-integration`
dd137 Sep 28, 2023
1f6eeaf
package-lock.json update
dd137 Sep 28, 2023
9c8f738
Fix "desktop" script not added to package.json in production (registr…
dd137 Sep 28, 2023
792425a
Fix test-integration "should add a `desktop` entry in package.json"
dd137 Sep 28, 2023
a00c35e
Devrton: Remove all usage of and references to the obsolete package
dd137 Sep 28, 2023
ec30256
Devrton: Update no-devtron desktop hash in '#getHashSettings' test
dd137 Sep 28, 2023
39df4d0
Don't SIGKILL Meteor when a desktop build terminates normally
dd137 Sep 28, 2023
26fc677
Merge pull request #28 from Meteor-Community-Packages/fix/kill-meteor…
StorytellerCZ Sep 29, 2023
9b56f3e
Merge pull request #23 from Meteor-Community-Packages/fix/devEnvSetup
StorytellerCZ Sep 29, 2023
9c72e52
Merge pull request #26 from Meteor-Community-Packages/fix/add-desktop…
StorytellerCZ Sep 29, 2023
14e3692
Version bump for 3.1.1 release
StorytellerCZ Sep 29, 2023
4e10f3d
Merge branch 'fix/bug-12' into fix/remove-devtron
StorytellerCZ Sep 29, 2023
194b563
Merge pull request #27 from Meteor-Community-Packages/fix/remove-devtron
StorytellerCZ Sep 29, 2023
275dc4f
App: Set enableRemoteModule true to re-enable needed legacy IPC messages
dd137 Sep 30, 2023
0e9dbbd
Integration tests (Spectron): fix getText() not in app.client anymore
dd137 Sep 30, 2023
4d0e0ca
Integration tests (Spectron): fix client.execute() not wrapping value
dd137 Sep 30, 2023
0c230a6
Integration tests (macOS): fix electron builder cannot find some assets
dd137 Sep 30, 2023
132d741
Integration tests (macOS): fix inconsequential ANDROID_SDK_ROOT error
dd137 Sep 30, 2023
69ccc1d
Integration tests: Don't commit chrome.log
dd137 Sep 30, 2023
4873285
Watcher plugin fix: v3.1.1 should require bundler plugin v3.1.1
dd137 Oct 4, 2023
047c2ea
Merge pull request #29 from Meteor-Community-Packages/fix/integration…
StorytellerCZ Oct 4, 2023
2fc296e
Merge pull request #30 from Meteor-Community-Packages/fix/bundler-plu…
StorytellerCZ Oct 4, 2023
b02d9ba
Update changelog
StorytellerCZ Oct 4, 2023
38c06b3
Release v3.1.1-rc.0
StorytellerCZ Oct 4, 2023
713680a
Patch update NPM dependencies
StorytellerCZ Oct 4, 2023
893931f
Update skeleton dependencies patch and some feature releases #31
StorytellerCZ Oct 4, 2023
f76405a
Merge pull request #32 from Meteor-Community-Packages/feature/update-…
a4xrbj1 Oct 4, 2023
51f973b
skeletonDependencies: Fix winston version (2.7.7 doesn't exist)
dd137 Oct 5, 2023
f6384ff
Integration tests: remove special plugins version handling for RCs
dd137 Oct 5, 2023
fcef7c9
Merge pull request #33 from Meteor-Community-Packages/fix/rc-plugins-…
StorytellerCZ Oct 5, 2023
ba03c2e
Use Meteor 2.6.1 (not 2.6) and Node 14 (not 12) everywhere
dd137 Oct 12, 2023
2c9d96f
CI TESTS: Update Github workflow to pass integration tests using Xvfb
dd137 Oct 12, 2023
a04e419
Merge pull request #34 from Meteor-Community-Packages/fix/ci-integrat…
StorytellerCZ Oct 12, 2023
3131557
3.1.1-rc.1
StorytellerCZ Oct 12, 2023
09b7ed3
Do not run build script on postinstall
dd137 Oct 17, 2023
a0fa8e2
Check addToScripts exists before running it on postinstall
dd137 Oct 17, 2023
aca3fb5
Update package-lock.json
dd137 Oct 17, 2023
815e422
Merge pull request #35 from Meteor-Community-Packages/fix/postinstall
StorytellerCZ Oct 17, 2023
be792ba
Publish 3.1.1-rc.2
StorytellerCZ Oct 17, 2023
a3923b3
Merge pull request #13 from Meteor-Community-Packages/fix/bug-12
StorytellerCZ Oct 22, 2023
e1d257c
Release v3.1.1
StorytellerCZ Oct 22, 2023
2e60c63
ci: update to electron 19
mjcctech Nov 13, 2023
6959d48
test: fix test
mjcctech Nov 13, 2023
fc15ad7
test: update spectron
mjcctech Nov 13, 2023
07dedde
test: downgrade electron to 17
mjcctech Nov 14, 2023
b8c0bfe
chore: fix exposing Desktop.electron
mjcctech Nov 14, 2023
de8679b
chore: other asJSON implementation
mjcctech Nov 14, 2023
f358858
chore: expose early
mjcctech Nov 14, 2023
82ab42a
chore: one more asJSON implementation
mjcctech Nov 14, 2023
19b6b8c
chore: fake electron plugins
mjcctech Nov 15, 2023
feada4d
Prep for 3.2-rc.0
StorytellerCZ Dec 4, 2023
5989d83
Adjustment for 3.2-rc.0 publish
StorytellerCZ Dec 4, 2023
51377f2
Merge pull request #36 from tkhtechnology/MX002-8311.1
StorytellerCZ Dec 7, 2023
838a4bf
Merge remote-tracking branch 'origin/master' into release/3.2
StorytellerCZ Dec 7, 2023
82985ac
Add changelog for 3.2
StorytellerCZ Dec 7, 2023
102d172
Published 3.2.0
StorytellerCZ Dec 7, 2023
874b08b
Merge branch 'release/3.2'
StorytellerCZ Dec 7, 2023
071bb3e
Fix registering custom 'meteor' scheme
ramijarrar Dec 20, 2023
ac91eb8
Merge pull request #39 from avorra/fix-register-scheme
StorytellerCZ Aug 19, 2024
d66957e
Minor NPM dependencies update
StorytellerCZ Aug 19, 2024
0ed8a51
refactored Fiber/futures syntax to ES6 async/await syntax
awatson1978 Sep 14, 2024
fc56eee
Merge pull request #43 from clinical-meteor/meteor-v3
StorytellerCZ Sep 16, 2024
92c58d9
Published communitypackages:meteor-desktop-bundler@3.3.0
StorytellerCZ Sep 16, 2024
94c12ce
Maybe fix #42
StorytellerCZ Sep 16, 2024
6c4bfd4
Removing Node v18 constraint
ferjep Feb 20, 2025
b9652be
Merge pull request #45 from ferjep/release/4.0
a4xrbj1 Feb 28, 2025
00bf01a
Bump version to 4.0.0-rc.0
a4xrbj1 Feb 28, 2025
1e2d77b
Bump packages in prep for release
StorytellerCZ Apr 1, 2025
df7feae
4.0.0-rc.0 published
StorytellerCZ Apr 1, 2025
9c552eb
Update GitHub Actions cache version
StorytellerCZ Apr 1, 2025
f0a336c
pkg bump to 3.4.0
awatson1978 Apr 17, 2025
01694d6
bundle.js
awatson1978 Apr 17, 2025
2101528
sync
awatson1978 Apr 17, 2025
2aa1602
sync
awatson1978 Apr 17, 2025
94c8ade
it compiles to desktop! 4.0.0-rc.1
awatson1978 Apr 17, 2025
ff24830
Merge pull request #47 from clinical-meteor/4.0.0-rc.1
a4xrbj1 Apr 18, 2025
0afdc6a
Merge pull request #46 from Meteor-Community-Packages/release/4.0
a4xrbj1 Apr 18, 2025
fe60513
Bump electron from 35.1.5 to 38.0.0
dependabot[bot] Sep 4, 2025
340c2c6
Merge pull request #51 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
3ee7492
Bump cross-spawn from 5.1.0 to 6.0.6
dependabot[bot] Sep 6, 2025
10a61dd
Bump brace-expansion from 1.1.11 to 1.1.12
dependabot[bot] Sep 6, 2025
bba64c2
Bump @babel/helpers from 7.25.0 to 7.28.4
dependabot[bot] Sep 6, 2025
86380ab
Bump @babel/runtime from 7.25.0 to 7.26.10
dependabot[bot] Sep 6, 2025
6b67a7d
Merge pull request #55 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
871d4cd
Merge pull request #54 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
0598ea3
Merge pull request #53 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
df1eb97
Merge pull request #52 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
cf2b10d
Bump send and serve-static
dependabot[bot] Sep 6, 2025
e552a83
Merge pull request #57 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Sep 6, 2025
ee89d15
Bump lodash from 4.17.21 to 4.17.23
dependabot[bot] Jan 22, 2026
516f810
Merge pull request #59 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Jan 23, 2026
178f9fb
Bump ajv from 6.12.6 to 6.14.0
dependabot[bot] Feb 21, 2026
fafc375
Bump minimatch and mocha
dependabot[bot] Feb 28, 2026
5d8c676
Merge pull request #65 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Feb 28, 2026
329794c
Merge pull request #62 from Meteor-Community-Packages/dependabot/npm_…
a4xrbj1 Feb 28, 2026
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
Binary file added ._package.json
Binary file not shown.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["@babel/env", {
"targets": {
"node": "12"
"node": "14"
}
}]
],
Expand Down
82 changes: 0 additions & 82 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"electron-debug",
"rimraf",
"process",
"devtron",
"ava",
"send",
"meteor-desktop-test-suite"
]
},
"rules": {
"max-len": ["error", { "code": 120 }],
"indent": [
2,
4,
Expand Down
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: StorytellerCZ
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---
<!-- Read a guide on [opening issues](https://opensource.guide/how-to-contribute/#opening-an-issue) -->
**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**Screenshots**

If applicable, add screenshots to help explain your problem. Please avoid
screenshots of code or error outputs and use [formatted code via markdown](https://guides.github.com/features/mastering-markdown/)
instead.

**Versions (please complete the following information):**
- Meteor version: [e.g. 1.8.2] <!-- see .meteor/release -->
- Browser: [e.g. firefox, chrome, safari]
- Package version: [e.g. 1.0.0] <!-- see .meteor/versions -->


**Additional context**

Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---
<!-- Read a guide on [opening issues](https://opensource.guide/how-to-contribute/#opening-an-issue) -->
**Is your feature request related to a problem? Please describe.**

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**

Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--
Thank you for your interest in the project! We appreciate your submission!

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!

Read a guide on [opening pull requests](https://opensource.guide/how-to-contribute/#opening-a-pull-request).

-->

<!-- What changes are being made? (What feature/bug is being fixed here?)
Check this [list](https://help.github.com/en/articles/closing-issues-using-keywords) of valid keywords.
-->
## What

<!-- Why are these changes necessary? -->
## Why

<!-- Anything else beside this PR that needs to happen? -->
25 changes: 0 additions & 25 deletions .github/workflow/nodejs.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/comment-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Add immediate comment on new issues

on:
issues:
types: [opened]

jobs:
createComment:
runs-on: ubuntu-latest
steps:
- name: Create Comment
uses: peter-evans/create-or-update-comment@v1.4.2
with:
issue-number: ${{ github.event.issue.number }}
body: |
Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee your issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.

Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know
80 changes: 80 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
on:
pull_request:
push:
branches:
- master

env:
METEOR_VERSION: 2.6.1

jobs:
build:
name: Build and Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Cache dependencies
uses: actions/cache@v4
id: files-cache
with:
path: |
dist
node_modules
/tmp/.__tmp_int
~/.meteor
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Install/Retrieve Meteor
if: steps.files-cache.outputs.cache-hit != 'true'
run: curl https://install.meteor.com/?release=${{ env.METEOR_VERSION }} | /bin/sh
- name: Install NPM Dependencies
# Creates dist/ through postinstall->build script
if: steps.files-cache.outputs.cache-hit != 'true'
run: ~/.meteor/meteor npm ci
- name: Run build script
# Make sure dist/ is up-to-date when package-lock.json hasn't changed
if: steps.files-cache.outputs.cache-hit == 'true'
run: ~/.meteor/meteor npm run build

unit-tests:
needs: build
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Cache dependencies
uses: actions/cache@v4
id: files-cache
with:
path: |
dist
node_modules
/tmp/.__tmp_int
~/.meteor
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Run test script
run: ~/.meteor/meteor npm run test

integration-tests:
needs: build
name: Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Cache dependencies
uses: actions/cache@v4
id: files-cache
with:
path: |
dist
node_modules
/tmp/.__tmp_int
~/.meteor
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- run: ~/.meteor/meteor npm run prepare-integration-tests
- name: Run test-integration script (using Xvfb)
uses: coactions/setup-xvfb@v1
with: # needs full path to meteor
run: /home/runner/.meteor/meteor npm run test-integration
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
dist
tests/_tmp_
tests/.__tmp_int
tests/integration/chrome.log
.npm
.versions
npm-debug*
Expand Down
Loading
Loading