Commit Graph

23 Commits

Author SHA1 Message Date
younggglcy c660391f19 ci(workflows): skip release and sensitive workflows on forks (#19685)
Add `if: github.repository == 'oxc-project/oxc'` to jobs in release,
codecov, and lint_rules workflows to prevent them from running on fork
repositories.

**Affected workflows:**
- `codecov.yml`
- `lint_rules.yml`
- `prepare_release_apps.yml`
- `prepare_release_crates.yml` (2 jobs)
- `release_apps.yml`
- `release_crates.yml`
- `release_napi_minify.yml`
- `release_napi_parser.yml`
- `release_napi_transform.yml`
- `release_runtime.yml`
- `release_types.yml`
2026-02-25 11:52:10 +08:00
Boshen fbb6410698 ci(release): install latest npm for trusted publishing 2025-08-29 15:06:27 +08:00
Boshen 47e6df5269 ci: enable trusted publishing for npm napi packages
* oxc-parser
* oxc-minify
* oxc-transform
* @oxc-project/types
* @oxc-project/runtime
2025-08-29 14:02:05 +08:00
Boshen c6edafe08d refactor(napi): remove npm/oxc-*/ npm packages (#9631)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-09 22:43:06 +08:00
Boshen 4f6d164f52 ci: fix release napi scripts 2025-01-24 13:37:01 +08:00
Boshen a78a72fb16 ci: fix overly broad permissions reported by zizmor (#8611)
https://woodruffw.github.io/zizmor/audits/#excessive-permissions
2025-01-20 13:19:50 +08:00
Boshen 4a59d29c30 refactor(workflows): add reusable_release_napi.yml (#8581) 2025-01-18 15:27:22 +08:00
Boshen 0726581f4f chore(deps): update github-actions (#8409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:06:49 +08:00
Boshen dcb27ff6cd ci: change setup-zig (#7930) 2024-12-16 13:52:15 +08:00
Boshen e812ae3117 chore(deps): pin dependencies (#7842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 20:12:09 +08:00
Boshen 13fe68d0dd ci: fix more action versions 2024-12-13 20:04:27 +08:00
Boshen 4dd69b5811 ci: fix action versions 2024-12-13 19:55:47 +08:00
Boshen 0970168a48 chore(deps): pin dependencies (#7837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 19:45:48 +08:00
Boshen ba84acd5cf ci: pin github action versions (#7826) 2024-12-13 18:53:16 +08:00
Alexander S. b24a636b0a ci: add zizmor for github actions security (#7822)
> zizmor is a static analysis tool for GitHub Actions. It can find many
common security issues in typical GitHub Actions CI/CD setups.

https://woodruffw.github.io/zizmor/

EDIT: what is the right PR-syntax for this?

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-12-13 13:36:41 +08:00
Boshen f672ca0c29 ci: fix release wasm 2024-10-26 10:28:12 +08:00
Boshen 40c00d53b0 ci: fix release napi 2024-10-08 21:24:36 +08:00
Boshen 1ed4ccdcae ci: fix failed to napi publish without --no-git-checks
We generate all the files so they are not commited to the repo
2024-09-11 18:30:15 +08:00
Boshen 7f7ed7b4dc ci: add custom pnpm action (#5572) 2024-09-07 16:13:19 +08:00
Boshen c796b77fa2 ci: use pnpm publish 2024-09-07 13:19: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 527bfc82f5 feat(npm/oxc-transform): setup npm/oxc-transform and publish 2024-06-18 22:12:47 +08:00