ci: update for forgejo
This commit is contained in:
parent
0bf045eb85
commit
07723a9814
2 changed files with 8 additions and 4 deletions
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
|
|
@ -9,11 +9,14 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
- uses: bahmutov/npm-install@v1
|
- run: npm install
|
||||||
|
- run: sudo apt update && sudo apt install -y maven
|
||||||
- run: npm run build-keycloak-theme
|
- run: npm run build-keycloak-theme
|
||||||
|
|
||||||
check_if_version_upgraded:
|
check_if_version_upgraded:
|
||||||
|
|
@ -27,7 +30,7 @@ jobs:
|
||||||
is_upgraded_version: ${{ steps.step1.outputs.is_upgraded_version }}
|
is_upgraded_version: ${{ steps.step1.outputs.is_upgraded_version }}
|
||||||
is_pre_release: ${{steps.step1.outputs.is_pre_release }}
|
is_pre_release: ${{steps.step1.outputs.is_pre_release }}
|
||||||
steps:
|
steps:
|
||||||
- uses: garronej/ts-ci@v2.1.5
|
- uses: guardianproejct.dev/actions/ts-ci@v2.1.5
|
||||||
id: step1
|
id: step1
|
||||||
with:
|
with:
|
||||||
action_name: is_package_json_version_upgraded
|
action_name: is_package_json_version_upgraded
|
||||||
|
|
@ -40,7 +43,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
- uses: bahmutov/npm-install@v1
|
- run: npm install
|
||||||
|
- run: sudo apt update && sudo apt install -y maven
|
||||||
- run: npm run build-keycloak-theme
|
- run: npm run build-keycloak-theme
|
||||||
- uses: softprops/action-gh-release@v2
|
- uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
0
flake.nix
Normal file
0
flake.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue