Commit graph

369 commits

Author SHA1 Message Date
Boshen
9e301755ea
ci: pass secret to reusable workflow 2024-07-23 22:50:50 +08:00
Boshen
4246a21c6d
ci: run cargo check before cargo release-oxc 2024-07-23 22:25:40 +08:00
Boshen
52f65e976d
ci: remove top level env 2024-07-23 22:24:10 +08:00
Boshen
f005416bc3
ci: run cargo check in prepare_release_crates 2024-07-23 22:18:46 +08:00
Boshen
6beef7414c
ci: add check job (publish --dry-run) in prepare_release_crates 2024-07-23 22:05:21 +08:00
Boshen
269151d7f0
ci: use bot account with PAT in reusable_prepare_release 2024-07-23 22:01:41 +08:00
Boshen
97c7678343
ci: fix cargo-bins/cargo-binstall@v1.7.4 2024-07-21 20:42:14 +08:00
Boshen
3708fba9e5
ci: use cargo-bins/cargo-binstall@1.7.4 2024-07-21 20:40:14 +08:00
Boshen
8e2fd8c5f3
ci: remove graphite optimize_ci
The savings does not out weight the confusion this feature brings yet.
2024-07-16 21:26:33 +08:00
Boshen
4a50b88af4
ci: remove instructions for sccache
Performance improvement does not out weight cost yet.
2024-07-16 21:24:32 +08:00
renovate[bot]
fef5d053e7
chore(deps): update crate-ci/typos action to v1.23.2 (#4260)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.23.1` -> `v1.23.2` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.2`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.2)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.1...v1.23.2)

#### \[1.23.2] - 2024-07-10

##### Features

-   Automatically ignore JWT tokens

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-14 21:15:01 +00:00
Boshen
91dc0f7866
chore(benchmark): add codegen benchmark (#4207) 2024-07-11 23:58:37 +08:00
Boshen
8c54a2f1ed fix(tasks/ast_codegen): run cargo fmt synchronously (#4181)
relates #4152

This is my wild guess, because it works in my other script 143685deb1/xtask/src/main.rs (L21)
2024-07-11 02:59:30 +00:00
Boshen
07506ece83
ci: add a git diff check after running tests 2024-07-11 10:18:56 +08:00
rzvxa
e1279da55c chore(ci): fix the formatting issues on AST Changes. (#4153)
I'm not sure what causes this issue so this PR is going to start as an experimentation
2024-07-10 13:38:05 +00:00
rzvxa
e6c407d1c3
chore(ci): add Codegen to the CI workflow. (#4144)
It should be marked as `required`.
Closes #4138

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-07-10 09:47:30 +08:00
renovate[bot]
4a49e4cc96
chore(deps): update crate-ci/typos action to v1.23.1 (#4089)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | minor
| `v1.22.9` -> `v1.23.1` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.1`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.1)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.0...v1.23.1)

#### \[1.23.1] - 2024-07-05

##### Fixes

- Add missing [June
2024](https://togithub.com/crate-ci/typos/issues/1024) changes

###
[`v1.23.0`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.0)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.9...v1.23.0)

#### \[1.23.0] - 2024-07-05

##### Fixes

- Updated the dictionary with the [June
2024](https://togithub.com/crate-ci/typos/issues/1024) changes

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-07 18:26:02 +00:00
Boshen
eb379188da
ci: fix version not set in release_oxlint.yml 2024-07-07 20:12:42 +08:00
Boshen
94bac93550
ci: pin cargo-shear to v1 2024-07-07 19:09:00 +08:00
Dunqing
54b3b6c0da
chore(benchmark): add isolated declarations (#4078) 2024-07-07 17:14:48 +08:00
Boshen
cdd4ee5dff
ci: cargo-shear v1 2024-07-05 23:46:15 +08:00
Dunqing
a50ce3d299 fix(transformer/typescript): missing initializer for class constructor arguments with private and protected modifier (#3996)
close: #3992
2024-07-01 15:10:32 +00:00
Boshen
34e8cfc9e5
ci: trigger eslint-plugin-oxlint after release 2024-07-01 17:29:58 +08:00
Boshen
e388758f8b
ci: split job in prepare_release_oxlint.yml 2024-07-01 17:24:33 +08:00
Boshen
253eea1938
ci: trigger eslint-plugin-oxlint when release oxlint 2024-07-01 16:43:52 +08:00
Boshen
e44963acda
Revert "chore(napi/transform): support wasm build (#3933)"
This reverts commit 3e9e4c9912.
2024-06-30 22:04:36 +08:00
Dunqing
3e9e4c9912
chore(napi/transform): support wasm build (#3933)
~~Encountered the same problem as
https://github.com/oxc-project/oxc-resolver/issues/190. Fixed in
napi@2.16.7, but oxc use `3.x`~~

Fixed in napi@3.0.0-alpha.3
2024-06-30 19:49:02 +08:00
Boshen
1d74db7774
ci: fix oxlint build 2024-06-27 15:37:59 +08:00
Boshen
7b5abf647f
ci: fix build 2024-06-27 15:19:38 +08:00
Boshen
75592e0d4d
ci: fix reusable_prepare_release version output 2024-06-27 15:08:31 +08:00
Boshen
a85d313a43
chore(deps): update oven-sh/setup-bun action to v2 (#3874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 18:28:48 +08:00
renovate[bot]
bef7f2b836
chore(deps): update github-actions (#3857)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.22.7` -> `v1.22.9` |
|
[mozilla-actions/sccache-action](https://togithub.com/mozilla-actions/sccache-action)
| action | patch | `v0.0.4` -> `v0.0.5` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.22.9`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.9)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.8...v1.22.9)

#### \[1.22.9] - 2024-06-22

##### Fixes

-   Stop correcting `reoccurrence`

###
[`v1.22.8`](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

</details>

<details>
<summary>mozilla-actions/sccache-action
(mozilla-actions/sccache-action)</summary>

###
[`v0.0.5`](https://togithub.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare
Source](https://togithub.com/mozilla-actions/sccache-action/compare/v0.0.4...v0.0.5)

##### What's Changed

- add missing quotes to `configure` example in readme by
[@&#8203;altendky](https://togithub.com/altendky) in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- chore: fix a typo in a comment by
[@&#8203;Alphare](https://togithub.com/Alphare) in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- Bump outdated CI workflows and packages by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)
- Output sccache stats as a notice and a summary table by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/113](https://togithub.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.12.11 to 20.13.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/115](https://togithub.com/Mozilla-Actions/sccache-action/pull/115)
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 7.8.0 to 7.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/117](https://togithub.com/Mozilla-Actions/sccache-action/pull/117)
- Bump braces from 3.0.2 to 3.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/120](https://togithub.com/Mozilla-Actions/sccache-action/pull/120)
- Bump ts-jest from 29.1.2 to 29.1.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/118](https://togithub.com/Mozilla-Actions/sccache-action/pull/118)
- Bump prettier from 3.2.5 to 3.3.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/121](https://togithub.com/Mozilla-Actions/sccache-action/pull/121)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/95](https://togithub.com/Mozilla-Actions/sccache-action/pull/95)
- Bump eslint-config-prettier from 9.0.0 to 9.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/96](https://togithub.com/Mozilla-Actions/sccache-action/pull/96)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/97](https://togithub.com/Mozilla-Actions/sccache-action/pull/97)
- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.10.6 to 20.11.24 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/102](https://togithub.com/Mozilla-Actions/sccache-action/pull/102)
- Bump eslint-plugin-jest from 27.6.0 to 27.9.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/101](https://togithub.com/Mozilla-Actions/sccache-action/pull/101)
- Bump undici from 5.28.2 to 5.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/99](https://togithub.com/Mozilla-Actions/sccache-action/pull/99)

##### New Contributors

- [@&#8203;altendky](https://togithub.com/altendky) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- [@&#8203;Alphare](https://togithub.com/Alphare) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- [@&#8203;orf](https://togithub.com/orf) made their first contribution
in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)

**Full Changelog**:
https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.4...v0.0.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 18:54:00 +00:00
Boshen
f8fe583a0b
ci: run cargo check first 2024-06-20 23:38:21 +08:00
Boshen
25b607cde1
ci: fix 2024-06-20 23:18:42 +08:00
Boshen
152195b67b
ci: try fix graphite optimize ci 2024-06-20 23:14:17 +08:00
overlookmotel
24df88099a
ci: enable semantic benchmarks (#3784)
#3776 does seem to have stabilized the benchmark results. Re-enable
semantic benchmarks which we disabled because they were showing wild
variance, and see if they still do.
2024-06-20 14:55:33 +08:00
Boshen
a94ef68c0f
ci: add JEMALLOC_SYS_WITH_LG_PAGE=16 to aarch64 systems
closes #3783
2024-06-20 14:30:17 +08:00
Boshen
a658ca8675
ci: try graphite ci optimizer (#3770) 2024-06-19 23:07:35 +08:00
Boshen
527bfc82f5
feat(npm/oxc-transform): setup npm/oxc-transform and publish 2024-06-18 22:12:47 +08:00
renovate[bot]
810ac13511
chore(deps): update crate-ci/typos action to v1.22.7 (#3701)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.22.4` -> `v1.22.7` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.22.7`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.7)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.6...v1.22.7)

#### \[1.22.7] - 2024-06-12

##### Fixes

-   Remove Linux arm64 binary support

###
[`v1.22.6`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.6)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.5...v1.22.6)

#### \[1.22.6] - 2024-06-12

###
[`v1.22.5`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.5)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.4...v1.22.5)

#### \[1.22.5] - 2024-06-12

##### Features

-   Linux arm64 binaries

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-16 21:36:08 +00:00
Boshen
2173f23d9c
ci: add workflow_dispatch to release oxlint 2024-06-14 15:29:29 +08:00
Boshen
c8e41601b2
ci: fix release oxlint missing target dir 2024-06-14 15:28:32 +08:00
Boshen
86556cef96
ci: simplify release scripts 2024-06-14 14:42:43 +08:00
Boshen
14b44062c2
ci: pin typos to a specific version (#3647) 2024-06-13 00:04:46 +08:00
Boshen
a798ff4e89
ci: add actions: write permission to release_crates 2024-06-12 18:00:50 +08:00
Boshen
c95d691af6
ci: use node-version-file (#3607) 2024-06-10 22:06:09 +08:00
Boshen
b09092c9ec
ci: use personal access token to push tag 2024-06-08 17:05:14 +08:00
Boshen
532510d714
ci: fix tag push for release_crates 2024-06-07 17:52:19 +08:00
Boshen
05342c6080
ci: fix release oxlint 2024-06-07 17:33:37 +08:00
Boshen
e0bfd85254
ci: pass changelog to action-gh-release 2024-06-07 16:30:41 +08:00