Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit d45e98f

Browse files
committed
chore: update version and workflows
1 parent 3582e72 commit d45e98f

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,32 @@ jobs:
1414
- name: Install archive tools
1515
run: sudo apt install zip
1616

17-
- name: Checkout source code
18-
uses: actions/checkout@v2
17+
- uses: actions/checkout@v2
1918
with:
2019
fetch-depth: 0
2120
ref: ${{ github.ref }}
21+
- uses: pnpm/action-setup@v2.0.1
22+
with:
23+
version: 6.20.3
24+
25+
- name: Setup node
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: 16.x
29+
cache: 'pnpm'
2230

2331
- name: Set env
2432
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2533

2634
- name: Install root dependencies
27-
run: yarn
35+
run: pnpm install
2836

2937
- name: Install ui dependencies
30-
run: yarn
38+
run: pnpm install
3139
working-directory: ui
3240

3341
- name: Run build
34-
run: yarn build
42+
run: pnpm build
3543

3644
- name: Bundle files
3745
run: |

fxmanifest.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ game 'common'
33

44
name 'oxmysql'
55
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
6-
version '2.1.1'
6+
version '2.2.0'
77
url 'https://github.com/overextended/oxmysql'
88
author 'overextended'
99

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oxmysql",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "FXServer to MySQL communication via node-mysql2",
55
"repository": "git@github.com:overextended/oxmysql.git",
66
"author": "dunak-debug <19434539+dunak-debug@users.noreply.github.com>",
@@ -12,8 +12,8 @@
1212
"lib/MySQL.d.ts"
1313
],
1414
"scripts": {
15-
"build": "yarn build:root && yarn build:ui",
16-
"build:ui": "cd ./ui/ && yarn build",
15+
"build": "pnpm build:root && pnpm build:ui",
16+
"build:ui": "cd ./ui/ && pnpm build",
1717
"build:root": "esbuild --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
1818
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
1919
"lib": "tsc --project lib/tsconfig.lib.json",

0 commit comments

Comments
 (0)