mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +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 }}
|
||||
|
||||
|
||||
- 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
|
||||
run: bun run .github/actions/bump-package-version.js
|
||||
env:
|
||||
@@ -66,6 +53,19 @@ jobs:
|
||||
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
|
||||
run: |
|
||||
mkdir -p ./temp/ox_lib/web
|
||||
|
||||
Reference in New Issue
Block a user