Skip to content

Fix drag drop types

Fix drag drop types #9

Workflow file for this run

name: Build Website
on:
push:
branches: [ 'develop' ]
paths:
- spellsource-web/**
jobs:
build-and-deploy-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true # TODO still needed just for website?
- run: git lfs checkout
- uses: actions/setup-java@v4
with:
java-version: '23'
distribution: temurin
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: gradle/actions/wrapper-validation@v3
- name: Test with Gradle
run: ./gradlew --no-parallel :spellsource-web:yarnRunTest
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set Project Version
run: |
COMMIT_SHA=$(git rev-parse --short=7 HEAD)
TIMESTAMP=$(date +%s)
echo "PROJECT_VERSION=${COMMIT_SHA}-${TIMESTAMP}" >> $GITHUB_ENV
- name: Build Website Image
run: ./gradlew spellsource-web:githubDockerPush
env:
PROJECT_VERSION: ${{ env.PROJECT_VERSION }}