mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
ci(create-release): bump version before running build script (#9)
This commit is contained in:
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
@@ -34,19 +34,6 @@ jobs:
|
|||||||
token: ${{ steps.app_token.outputs.token }}
|
token: ${{ steps.app_token.outputs.token }}
|
||||||
|
|
||||||
|
|
||||||
- name: Install package dependencies
|
|
||||||
run: bun install --frozen-lockfile
|
|
||||||
working-directory: package
|
|
||||||
|
|
||||||
- name: Install web dependencies
|
|
||||||
run: bun install --frozen-lockfile
|
|
||||||
working-directory: web
|
|
||||||
|
|
||||||
- name: Run web build script
|
|
||||||
run: bun run build
|
|
||||||
working-directory: web
|
|
||||||
|
|
||||||
|
|
||||||
- name: Bump package version
|
- name: Bump package version
|
||||||
run: bun run .github/actions/bump-package-version.js
|
run: bun run .github/actions/bump-package-version.js
|
||||||
env:
|
env:
|
||||||
@@ -66,6 +53,19 @@ jobs:
|
|||||||
message: 'chore: bump version to ${{ github.ref_name }}'
|
message: 'chore: bump version to ${{ github.ref_name }}'
|
||||||
|
|
||||||
|
|
||||||
|
- name: Install package dependencies
|
||||||
|
run: bun install --frozen-lockfile
|
||||||
|
working-directory: package
|
||||||
|
|
||||||
|
- name: Install web dependencies
|
||||||
|
run: bun install --frozen-lockfile
|
||||||
|
working-directory: web
|
||||||
|
|
||||||
|
- name: Run web build script
|
||||||
|
run: bun run build
|
||||||
|
working-directory: web
|
||||||
|
|
||||||
|
|
||||||
- name: Bundle files
|
- name: Bundle files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./temp/ox_lib/web
|
mkdir -p ./temp/ox_lib/web
|
||||||
|
|||||||
Reference in New Issue
Block a user