Files
action-tests/.gitea/workflows/test-build.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: unmarshal errors: line 18: cannot unmarshal !!seq into string
2026-05-22 22:12:49 +00:00

25 lines
741 B
YAML

name: Test build
on: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Clone doki-theme-gitea
uses: actions/checkout@v6
with:
repository: infrastructure/doki-theme-gitea
submodules: true
- name: Install dependencies
run: npm i
- name: Generate the themes
run: npm run generate
- name: Check the output
run: [$(ls -1 output/ | wc -l) != 0]
- name: Copy the files
run: >-
(cd output && tar c .) | docker run -i
-v /srv/gitea/gitea/public/assets/css:/srv/gitea/gitea/public/assets/css
-w /srv/gitea/gitea/public/assets/css
alpine:1.23 sh -c 'rm theme-doki*.css && tar x'