Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/commands.ts>warning

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function warning
import { warning } from "https://deno.land/x/actionify@0.3.0/src/commands.ts";

Creates a warning message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.

import { step, commands } from 'https://deno.land/x/actionify@0.3.0/mod.ts';

const exampleStep = step()
  .run(commands.warning(
    'This is a warning', {
      file: 'app.js',
      line: 1,
      col: 5,
      endColumn: 7,
  }));

Parameters

optional
options: NoticeOptions = [UNSUPPORTED]

Returns

Command<DefaultCommandTypes>