diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1e50abc..941c6c5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afa8357..9cbcd14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,11 +9,11 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - name: ⌛ Checkout + - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - - name: ⏰ Setup Node.js + - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: "18" diff --git a/package.json b/package.json index 09e470b..60e00d2 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "hidabroot", - "version": "0.6.2-beta", + "version": "0.6.3-beta", "description": "An unofficial API for hidabroot", "main": "./lib/index.js", - "types": "build/index.d.ts", + "types": "lib/index.d.ts", "scripts": { "test": "mocha ./test/allTests.test.ts", "build": "tsc", diff --git a/test/allTests.test.ts b/test/allTests.test.ts index b2d24ac..be06819 100644 --- a/test/allTests.test.ts +++ b/test/allTests.test.ts @@ -1,6 +1,6 @@ import { describe } from "mocha"; import { expect } from "chai"; -import { todayNews, getArticle } from "../src/index"; +import { todayNews, getArticle } from "../lib/index"; describe("todayNews function", () => { it("should return the json object of today news", async () => {