Skip to content

Commit

Permalink
testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol-Baranwal committed Nov 11, 2023
1 parent 72931c6 commit 32ce204
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
close-multiple-issues:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: "Close Multiple Issues from Same Author"
description: "GitHub Action to handle the current issue if the author has existing open issues."
author: "Anmol Baranwal"
inputs:
label:
description: "Label to add to the current issue."
Expand Down
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Object.defineProperty(exports, "__esModule", { value: true });
const core = require("@actions/core");
const github = require("@actions/github");
// const core = require("@actions/core");
// const github = require("@actions/github");
async function HandleMultipleIssues() {
var _a;
try {
Expand Down
2 changes: 2 additions & 0 deletions index.ts → src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import * as github from "@actions/github";
// const github = require("@actions/github");

async function HandleMultipleIssues() {
console.log("Hello World!");

try {
const token = process.env.GITHUB_TOKEN;

Expand Down
37 changes: 24 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES2018",
"outDir": "dist",
"lib": ["ES2018"],
// "lib": [
// "esnext",
// "esnext.asynciterable"
// ],
"strict": true
},
// {
// "compilerOptions": {
// "module": "commonjs",
// "target": "ES2018",
// "outDir": "dist",
// "lib": ["ES2018"],
// // "lib": [
// // "esnext",
// // "esnext.asynciterable"
// // ],
// "strict": true
// },

"include": ["index.ts"]
// "include": ["index.ts"]
// }
{
"compilerOptions": {
"target": "ES2019",
"module": "commonjs",
"outDir": "dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
}
}

0 comments on commit 32ce204

Please sign in to comment.