From 6f89ed66e5ec63d97724582f33facc42dc970605 Mon Sep 17 00:00:00 2001 From: Skick Date: Sat, 16 Oct 2021 14:15:00 +0700 Subject: [PATCH] chore(Release): 3.0.0 --- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/npm-publish.yml | 6 +++--- .github/workflows/test.yml | 11 ++++------- package.json | 8 ++++---- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0f5b54e2..cd92af5e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 16 - name: Install dependencies run: npm install diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 999e5002..d9d7dccd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 16 - name: Install dependencies run: npm install diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2063eae9..11dc98d8 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,4 +1,4 @@ -name: Publish DisTube Beta +name: Publish DisTube on: release: types: [created] @@ -13,7 +13,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 16 - name: Login run: npm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_TOKEN}} @@ -28,4 +28,4 @@ jobs: run: npm run build - name: Publish - run: npm run publish:beta + run: npm run publish:stable diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f23ffe42..84d957e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,19 +2,16 @@ name: Testing on: [push, pull_request] jobs: test: - strategy: - matrix: - node: ["14", "16"] - name: Test on Node.js v${{ matrix.node }} + name: Test on Node.js v16 runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node.js v${{ matrix.node }} - uses: actions/setup-node@v1 + - name: Install Node.js v16 + uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node }} + node-version: 16 - name: Install dependencies run: npm install diff --git a/package.json b/package.json index 1e15754f..c5da6391 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "distube", - "version": "3.0.0-beta.40", + "version": "3.0.0", "description": "A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key. Support YouTube, SoundCloud, Bandcamp, Facebook, and 700+ more sites", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -12,7 +12,7 @@ "prettier": "prettier --write **/*.{js,ts,json,yml,yaml}", "build": "tsc", "build:check": "tsc --noEmit --incremental false", - "publish:beta": "npm publish --tag beta", + "publish:stable": "npm publish", "ncu": "ncu -u --dep dev,prod", "postinstall": "husky install", "prepublishOnly": "pinst -d", @@ -63,9 +63,9 @@ "@discordjs/voice": "^0.6.0", "@distube/docgen": "github:distubejs/docgen", "@types/jest": "^27.0.2", - "@types/node": "^16.10.9", + "@types/node": "^16.11.0", "babel-jest": "^27.2.5", - "discord.js": "13.1.0", + "discord.js": "^13.2.0", "eslint": "^7.32.0", "eslint-config-distube": "^1.4.0", "husky": "^7.0.2",