Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
- Organize imports.
- Update CI config.
  • Loading branch information
jamesgeorge007 committed Apr 12, 2024
1 parent 755455f commit 7dd5848
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Expand Up @@ -17,21 +17,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
run: mv .env.example .env

- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion packages/hoppscotch-cli/bin/hopp.js
Expand Up @@ -4,8 +4,8 @@

import { cli } from "../dist/index.js";

import { cloneDeep } from "lodash-es";
import { spawnSync } from "child_process";
import { cloneDeep } from "lodash-es";

const nodeVersion = parseInt(process.versions.node.split(".")[0]);

Expand Down
1 change: 1 addition & 0 deletions packages/hoppscotch-cli/src/index.ts
@@ -1,6 +1,7 @@
import chalk from "chalk";
import { Command } from "commander";
import * as E from "fp-ts/Either";

import { version } from "../package.json";
import { test } from "./commands/test";
import { handleError } from "./handlers/error";
Expand Down

0 comments on commit 7dd5848

Please sign in to comment.