Change require statements to imports

This commit is contained in:
Thomas A. Christensen II 2022-06-15 11:28:15 -05:00
parent 88f5b74123
commit 5bcf32955d
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -1,11 +1,10 @@
const core = require("@actions/core"); import * as core from "@actions/core";
const exec = require("@actions/exec") import * as exec from "@actions/exec";
const fs = require("fs"); import * as fs from "fs";
const github = require("@actions/github"); import * as github from "@actions/github";
const io = require("@actions/io"); import * as tc from "@actions/tool-cache";
const retry = require("async-retry"); import retry = require("async-retry");
const semver = require("semver"); import semver = require("semver");
const tc = require("@actions/tool-cache");
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" }; const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" };