Commit graph

9 commits

Author SHA1 Message Date
1c5bfa8702
CI(GitHub Actions): --no-git-checks
Summary:
```
ERR_PNPM_GIT_UNKNOWN_BRANCH  The Git HEAD may not attached to any branch, but your "publish-branch" is set to "master|main".
If you want to disable Git checks on publish, set the "git-checks" setting to "false", or run again with "--no-git-checks".
Error: Process completed with exit code 1.
```

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Land and push tag again.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D636
2024-08-01 19:19:36 +09:00
00da98d2b7
CI(GitHub Actions): Use pnpm/action-setup to install pnpm
Summary:
/shrug that I have to install this.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land and do push again.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D635
2024-08-01 19:16:17 +09:00
9df5a0f602
CI(GitHub Actions): Make publish via pnpm work
Summary:
/shrugs

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land and push tag again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D634
2024-08-01 19:08:32 +09:00
f78f311269
CI(GitHub Actions): use .node-version
Summary:
Ref D497. Centralize management for node version management.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land and wait for next npm-pub release.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D502
2024-07-03 20:02:39 +09:00
4e98e27115
CI(typescript): add typescript stuff
Summary:
Add them as `package.json` deps. Also remove `--fund=false` in
GitHub Actions workflows where it's obsoleted by `.npmrc` file.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D429
2024-06-25 17:20:02 +09:00
9c85bcb30d
CI(NPM): .npmrc audit=false, fund=false
Summary:
Handled by dependabot.

Ref D375.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land it, do npm ci or watch GitHub Actions log without audit/fund data.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D384
2024-06-21 16:09:14 +09:00
cbfa3411b3
CI(GitHub Actions): fix npm-pub.yml to publish correctly
Summary:
Fix P185 failure.

Also fix L1 (`npm pkg fix`) for (eslint|prettier)-config.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`, and push tag again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D358
2024-06-18 19:26:34 +09:00
0b10676c4f
CI(GitHub Actions): Fix syntax if: statement
Summary:
Forgot there's contains() logic.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`, and make a new tag and push.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D357
2024-06-18 19:19:03 +09:00
351abd6425
CI(GitHub Actions): add npm autopublishing script
Summary:
Handles (eslint|prettier)-config in one script.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land` and push a tag for testing.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D356
2024-06-18 19:08:38 +09:00