This repository was archived by the owner on Apr 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed
Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ game 'common'
33
44name ' oxmysql'
55description ' Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
6- version ' 2.1.1 '
6+ version ' 2.2.0 '
77url ' https://github.com/overextended/oxmysql'
88author ' overextended'
99
Original file line number Diff line number Diff line change 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>" ,
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" ,
You can’t perform that action at this time.
0 commit comments