Skip to content

chore: CI test artifact and node #3

chore: CI test artifact and node

chore: CI test artifact and node #3

Workflow file for this run

name: Build docker
on:
push:
branches: [ "update/rewrite" ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
outputs:
output1: ${{ steps.step1.outputs }}
steps:
# Checkout the repo files
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
# Generate files to compile the tailwind into a css file
- name: Prepare tailwind
run: ./gradlew backend:tailwindPrepare
# Node territory
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Tailwind install
run: npm install -D tailwindcss
working-directory: tailwind
- name: Create tailwind .css file
run: npx tailwindcss -o tailwind.css --minify
working-directory: tailwind
- uses: actions/upload-artifact@v4
with:
name: test-artifact
path: tailwind/