chore: update version and workflows

This commit is contained in:
Linden committed 2022-03-25 19:01:06 +11:00
1 parent 3582e72122
commit d45e98f38e
3 files changed
+17 -9

No files matched your search

+13 -5
View File
@@ -14,24 +14,32 @@ jobs:
- name: Install archive tools
run: sudo apt install zip
- name: Checkout source code
uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- uses: pnpm/[email protected]
with:
version: 6.20.3
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'pnpm'
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install root dependencies
run: yarn
run: pnpm install
- name: Install ui dependencies
run: yarn
run: pnpm install
working-directory: ui
- name: Run build
run: yarn build
run: pnpm build
- name: Bundle files
run: |
+1 -1
View File
@@ -3,7 +3,7 @@ game 'common'
name 'oxmysql'
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
version '2.1.1'
version '2.2.0'
url 'https://github.com/overextended/oxmysql'
author 'overextended'
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "oxmysql",
"version": "2.1.1",
"version": "2.2.0",
"description": "FXServer to MySQL communication via node-mysql2",
"repository": "[email protected]:overextended/oxmysql.git",
"author": "dunak-debug <[email protected]>",
@@ -12,8 +12,8 @@
"lib/MySQL.d.ts"
],
"scripts": {
"build": "yarn build:root && yarn build:ui",
"build:ui": "cd ./ui/ && yarn build",
"build": "pnpm build:root && pnpm build:ui",
"build:ui": "cd ./ui/ && pnpm build",
"build:root": "esbuild --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
"lib": "tsc --project lib/tsconfig.lib.json",