Skip to content

Commit

Permalink
Updated ci script (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Mar 18, 2024
1 parent a888930 commit e999733
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
echo "message=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
- name: npm ci
run: |
npm ci
npm ci --ignore-scripts
- name: 🔨 Use .NET Core 6.0 SDK
uses: actions/setup-dotnet@v4
with:
Expand Down
12 changes: 6 additions & 6 deletions src/Nuke/GithubActions/GitHubActionsLintAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public sealed class GitHubActionsLintAttribute : GitHubActionsStepsAttribute
/// <param name="image"></param>
/// <param name="images"></param>
public GitHubActionsLintAttribute(
string name,
GitHubActionsImage image,
string name,
GitHubActionsImage image,
params GitHubActionsImage[] images
) : base(name, image, images)
{
Expand All @@ -35,8 +35,8 @@ public sealed class GitHubActionsLintAttribute : GitHubActionsStepsAttribute
/// <param name="image"></param>
/// <param name="images"></param>
public GitHubActionsLintAttribute(
string name,
string image,
string name,
string image,
params string[] images
) : base(name, image, images) { }

Expand Down Expand Up @@ -76,7 +76,7 @@ public override ConfigurationEntity GetConfiguration(IReadOnlyCollection<Executa
step.Ref = "${{ github.event.pull_request.head.ref }}";
}
)
.InsertAfterCheckOut(new RunStep("npm ci") { Run = "npm ci", })
.InsertAfterCheckOut(new RunStep("npm ci") { Run = "npm ci --ignore-scripts", })
.InsertAfterCheckOut(
new RunStep("Get Head Commit Message") { Id = "commit-message", Run = "echo \"message=$(git show -s --format=%s)\" >> \"$GITHUB_OUTPUT\"", }
)
Expand All @@ -100,4 +100,4 @@ public override ConfigurationEntity GetConfiguration(IReadOnlyCollection<Executa

return configuration;
}
}
}

0 comments on commit e999733

Please sign in to comment.