Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Aug 21, 2024
1 parent 2d880b1 commit 92f9e1d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,28 @@ jobs:
- name: Install node dependencies
run: pnpm i

- name: Check eslint
- name: Check build
run: pnpm build

tests:
name: build
needs: [pnpm, eslint, build]
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install node dependencies
run: pnpm i

- name: Check tests
run: pnpm test
3 changes: 1 addition & 2 deletions src/Private/Requests.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { expect, expectTypeOf, test, vi } from 'vitest';
import { expect, expectTypeOf, test } from 'vitest';
import Requests from './Requests';
import Client from '../Client';
import axios from 'axios';

test('Requests', async () => {
const client = new Client(process.env.key ?? '');
Expand Down

0 comments on commit 92f9e1d

Please sign in to comment.