22 Commits

Author SHA1 Message Date
Julian Gonggrijp
0a67c26d26 Upgrade devDependencies via npm audit fix --force
This required upgrading the Node.js version in CI to 16.
2025-03-27 23:32:15 +01:00
Julian Gonggrijp
a2b5d4c62c Cancel PhantomJS
This is a temporary workaround until #4294 has been fully adressed.
2025-03-27 23:09:31 +01:00
Andreas Deininger
74c9fc9e5f Bump GitHub workflows to latest version 2024-03-06 19:38:40 +01:00
Julian Gonggrijp
ac5e173e27 Use npm ci instead of npm install (#4252)
As suggested by @ogonkov in
https://github.com/jashkenas/backbone/pull/4252#discussion_r800372668
2022-02-18 17:16:00 +01:00
Julian Gonggrijp
725a957f48 Restore env var indirection in Karma Sauce config (#4251)
As suggested by @ogonkov in review to #4252.

This partly reverts commit 453bdf5ce0.
2022-01-22 11:20:56 +01:00
Julian Gonggrijp
f80570a7a9 Run the test workflow in a newer Node version (#4251)
In Node 6, running Karma gave the following warning:

Error during loading "/home/runner/work/backbone/backbone/node_modules/karma-sauce-launcher" plugin:
  Unexpected token function

I had no such error running karma after installing karma-sauce-launcher
locally in Node 14, so this upgrade might fix some things.

We are not exactly in the business of supporting old Node versions, so
this should be relatively painless.
2022-01-22 02:11:33 +01:00
Julian Gonggrijp
a10ce93c21 Put back the test workflow cache key (#4251)
This reverts commit 02c3b73aa8.
2022-01-22 01:55:24 +01:00
Julian Gonggrijp
453bdf5ce0 Use GH default env vars directly in karma.conf-sauce (#4251)
If I understand the documentation correctly, it is not strictly
necessary that these variables be read from the workflow file; they
may also be read directly by the target processes.
2022-01-22 01:12:36 +01:00
Julian Gonggrijp
a2cefce2a5 Include test directory as a condition for running the test workflow
Cf #4251
2022-01-22 01:08:04 +01:00
Alexey
010e928383 Split command 2022-01-21 23:27:28 +03:00
Alexey
0ab0d02b65 Add job names 2022-01-21 23:26:59 +03:00
Alexey
8e975030e5 Remove xvfb setup 2022-01-21 23:21:26 +03:00
Alexey
02c3b73aa8 Remove cache key for now 2022-01-21 23:20:57 +03:00
Alexey
a2f7cbafd3 Fix env vars 2022-01-21 23:20:25 +03:00
Alexey
52f23814f7 Add workflows to paths 2022-01-21 21:30:44 +03:00
Alexey
17018ebdc7 Replace branches list 2022-01-21 21:28:24 +03:00
Alexey
5d95c0afdf Cache deps 2022-01-18 17:38:22 +03:00
Alexey
27c9159b88 Use --no-audit for install 2022-01-18 17:36:49 +03:00
Alexey
8a9fe59c3e Add --no-audit flag 2022-01-18 12:53:56 +03:00
Alexey
e7ba250be6 Fix module installation 2022-01-18 12:52:27 +03:00
Alexey
0738170a23 Add job name 2022-01-18 12:35:38 +03:00
Alexey
723dd48942 Add GitHub Workflows 2022-01-18 12:35:38 +03:00