Commit Graph

24 Commits

Author SHA1 Message Date
TurboRx
2dfe57c13a
Bump GitHub Actions versions (#11826)
Co-authored-by: TurboRx <TurboRx@users.noreply.github.com>
2026-03-18 18:03:59 -07:00
TurboRx
2bc7166d4e
fix(workflow): remove extra brace in update_version.yml (#11395) 2025-08-24 13:18:27 -07:00
Guangcong Luo
8d75112e4a
Revert #11314 (Test supported Node versions)
I also added a really long comment so people know why.
2025-08-01 21:28:33 -07:00
Sergio Garcia
03e1fb6dff
Test supported Node versions (#11314)
Some checks are pending
Node.js CI / build (20.x) (push) Waiting to run
Node.js CI / build (22.x) (push) Waiting to run
Node.js CI / build (24.x) (push) Waiting to run
* Fix typo

* Remove unnessecary file

* Test supported Node versions

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
2025-07-31 10:12:49 -05:00
zianwangs
d6e98c21fb
Fix typos (#11200) 2025-06-19 04:10:12 -07:00
Sergio Garcia
d044cd7bc5
Github Actions: Fix linter issues and bump old actions (#11101)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
As reported by `actionlint`
2025-05-12 07:13:58 -07:00
Guangcong Luo
2186bc919f
GitHub Actions: Update setup-node
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
This is in the hope that it helps with PR annotations.
2025-04-12 18:12:55 -07:00
Guangcong Luo
3a67602d6a Update NPM publish workflow 2025-02-26 16:45:39 -08:00
Guangcong Luo
f301e930f6 Fix NPM publishing 2025-02-26 14:15:16 -08:00
Guangcong Luo
78439b4a02
Update to ESLint 9 (#10926)
ESLint has a whole new config format, so I figure it's a good time to
make the config system saner.

- First, we no longer have separate eslint-no-types configs. Lint
  performance shouldn't be enough of a problem to justify the
  relevant maintenance complexity.

- Second, our base config should work out-of-the-box now. `npx eslint`
  will work as expected, without any CLI flags. You should still use
  `npm run lint` which adds the `--cached` flag for performance.

- Third, whatever updates I did fixed style linting, which apparently
  has been bugged for quite some time, considering all the obvious
  mixed-tabs-and-spaces issues I found in the upgrade.

Also here are some changes to our style rules. In particular:

- Curly brackets (for objects etc) now have spaces inside them. Sorry
  for the huge change. ESLint doesn't support our old style, and most
  projects use Prettier style, so we might as well match them in this way.
  See https://github.com/eslint-stylistic/eslint-stylistic/issues/415

- String + number concatenation is no longer allowed. We now
  consistently use template strings for this.
2025-02-25 20:03:46 -08:00
tofa
58ebe9abed
CI: Force pull requests to fetch history (#9720)
Previous implementation only fetched the
latest changes made in the current branch.
Since the CI pipeline only triggers on the
latest pushed commit, this means linting
errors could previously be avoided due to
having multiple commits in a single push.
2023-09-24 19:29:51 -07:00
Sergio
72514fc405
Don't try to lint excluded files (#9717)
* Don't try to lint excluded files

* Oh no an empty line

* Test with files_ignore
2023-08-16 21:52:32 -06:00
tofa
3901e11b8b
Github Actions: Perform selective eslint & testing for PRs (#9506) 2023-04-30 02:51:19 -07:00
Wazbat
72e104e722
Github Actions: Don't NPM publish in forks (#9519) 2023-04-13 19:30:07 -07:00
Wazbat
64eec26651
Add npm cache to Github Actions (#9517) 2023-04-13 03:29:04 -07:00
Wazbat
7e3f9cbc3d
Add CI action to automatically publish new releases (#9470) 2023-04-13 02:03:08 -07:00
Guangcong Luo
d54f4ea408
Update GitHub Actions workflows
The current build failure is incomprehensible to me but chaos thinks
it's because Node 14 is too old and it's causing some breakage
somewhere.

We have no real reason not to bump the required version, so here we go.
2023-04-10 20:03:58 +09:00
Annika
c134195915
Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00
Annika
b3771214d5
Fix modlog tests on Windows (#7187) 2020-08-10 09:37:08 -07:00
Mia
1628258371
Typescript chat-commands/core (#6484)
Also fix TS line numbers in GitHub Actions
2020-03-23 23:50:35 -07:00
Guangcong Luo
ea35ceb75f
Test pull requests with GitHub Actions 2020-03-07 20:30:05 -08:00
Guangcong Luo
1d70911743 Try GitHub Actions again
(It was removed because GitHub had a bug involving thinking this was a
private repository? But it seems to be working again.)
2020-03-07 15:01:11 -08:00
Guangcong Luo
7c517577a1 Remove GitHub Actions
We'll have to reinstate this whenever GitHub sorts out their weird
issues, but for now, it's making it impossible to get any work done.
2019-11-16 06:11:06 +13:00
Guangcong Luo
a726ac6f57
Try out GitHub Actions 2019-08-26 16:20:03 -07:00