Skip to content

Commit

Permalink
chore(deps): upgrade dependencies (#144)
Browse files Browse the repository at this point in the history
Upgrades project dependencies. See details in [workflow run].

[Workflow Run]:
https://github.com/aws/jsii-compiler/actions/runs/5249731978

------

*Automatically created by projen via the "upgrade-main" workflow*

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: 🧑🏻‍💻 Romain Marcadier <[email protected]>
  • Loading branch information
3 people authored Jun 13, 2023
1 parent d78c4ff commit 25d8148
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 307 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request-lint.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { javascript, JsonFile, JsonPatch, typescript } from 'projen';
import { javascript, JsonFile, JsonPatch, typescript, YamlFile } from 'projen';
import { BuildWorkflow } from './projenrc/build-workflow';
import { JsiiCalcFixtures } from './projenrc/fixtures';
import { ReleaseWorkflow } from './projenrc/release';
Expand Down Expand Up @@ -91,6 +91,15 @@ const project = new typescript.TypeScriptProject({
vscode: true,
});

// PR validation should run on merge group, too...
(project.tryFindFile('.github/workflows/pull-request-lint.yml')! as YamlFile).patch(
JsonPatch.add('/on/merge_group', {}),
JsonPatch.add(
'/jobs/validate/steps/0/if',
"github.event == 'pull_request' || github.event_name == 'pull_request_target'",
),
);

new UpgradeDependencies(project, {
workflowOptions: {
branches: [
Expand Down
10 changes: 5 additions & 5 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 25d8148

Please sign in to comment.