Skip to content

Commit

Permalink
v2.2.0 (#128)
Browse files Browse the repository at this point in the history
* chore: v2.2.0

* chore: Pin action versions to avoid dependency injection

* fix: Teach Mocha how to load imports with file extensions

* feat: Name checkout action runs

* chore: Really, name the action

* fix: Specify a relative tsconfig path

* fix: Set `tsx` for CJS

* chore: Update `ytdl-core`

* chore: Consolidate video link and info

* fix: How did this pass integration tests before???
  • Loading branch information
AverageHelper authored Feb 18, 2024
1 parent d71f1ec commit ca65c79
Show file tree
Hide file tree
Showing 11 changed files with 787 additions and 61 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
7 changes: 4 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Parse Changelog
id: changelog
uses: coditory/changelog-parser@v1.0.2
uses: coditory/changelog-parser@4f567c6914ee75eff434b4d946393dfd254f8f98

- name: Publish Release
if: steps.changelog.outputs.status != 'unreleased'
# This action doesn't create a new release if the tag already exists
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
token: ${{ secrets.RELEASE_TOKEN }}
tag_name: v${{ steps.changelog.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Log in to registry ${{ env.REGISTRY }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Use Node.js 16.10.x
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 16.10.x
- run: npm ci
Expand All @@ -24,9 +26,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Use Node.js 18.x
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 18.x
- run: npm ci
Expand All @@ -38,9 +42,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Use Node.js 16.10.x (earliest version supported)
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 16.10.x
- run: npm ci
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/versions-match.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Use Node.js 16.10.x
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 16.10.x
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"bail": true,
"exit": true,
"extensions": ["ts"],
"require": ["ts-node/register", "./tests/hooks.ts"],
"require": ["./tests/hooks.ts"],
"retries": 2,
"spec": ["./tests/**/*.test.ts"],
"timeout": 60000
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.2.0] - 2024-02-18
### Added
- Translations for `/howto` command responses. (Thanks to [@karcsesz](https://github.com/karcsesz), [@vayandas](https://github.com/vayandas), and marph92 for help translating!)
- Internal logging to indicate the start of a user's submission cooldown timer.
Expand Down Expand Up @@ -439,7 +439,7 @@ After updating, be sure to run `npm ci && npm run build:clean && npm run migrate
### Added
- Initial commit

[Unreleased]: https://github.com/AverageHelper/Gamgee/compare/v2.1.1...HEAD
[2.2.0]: https://github.com/AverageHelper/Gamgee/compare/v2.1.1...v2.2.0
[2.1.1]: https://github.com/AverageHelper/Gamgee/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/AverageHelper/Gamgee/compare/v2.0.6...v2.1.0
[2.0.6]: https://github.com/AverageHelper/Gamgee/compare/v2.0.5...v2.0.6
Expand Down
Loading

0 comments on commit ca65c79

Please sign in to comment.