mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-24 18:39:54 +00:00
Change require statements to imports
This commit is contained in:
parent
88f5b74123
commit
5bcf32955d
1 changed files with 7 additions and 8 deletions
15
index.ts
15
index.ts
|
@ -1,11 +1,10 @@
|
|||
const core = require("@actions/core");
|
||||
const exec = require("@actions/exec")
|
||||
const fs = require("fs");
|
||||
const github = require("@actions/github");
|
||||
const io = require("@actions/io");
|
||||
const retry = require("async-retry");
|
||||
const semver = require("semver");
|
||||
const tc = require("@actions/tool-cache");
|
||||
import * as core from "@actions/core";
|
||||
import * as exec from "@actions/exec";
|
||||
import * as fs from "fs";
|
||||
import * as github from "@actions/github";
|
||||
import * as tc from "@actions/tool-cache";
|
||||
import retry = require("async-retry");
|
||||
import semver = require("semver");
|
||||
|
||||
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" };
|
||||
|
||||
|
|
Loading…
Reference in a new issue