diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 128e8530c..8c5368128 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -37,7 +37,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -48,7 +48,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -62,4 +62,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/deploy_pietervdvn.yml b/.github/workflows/deploy_pietervdvn.yml
index 9c566a61e..a548dc936 100644
--- a/.github/workflows/deploy_pietervdvn.yml
+++ b/.github/workflows/deploy_pietervdvn.yml
@@ -5,9 +5,11 @@ on:
- develop
- feature/*
- theme/*
+ - refactoring/*
jobs:
build:
runs-on: ubuntu-latest
+ if: ${{ github.actor != 'weblate' }}
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/validate_translations.yml b/.github/workflows/validate_translations.yml
new file mode 100644
index 000000000..6f07d343a
--- /dev/null
+++ b/.github/workflows/validate_translations.yml
@@ -0,0 +1,37 @@
+name: Deployment on pietervdvn
+on:
+ pull_request
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ if: ${{ github.actor == 'weblate' }}
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: "16"
+ cache: "npm"
+ cache-dependency-path: package-lock.json
+
+ - name: install deps
+ run: npm ci
+ shell: bash
+
+ - name: create generated dir
+ run: mkdir ./assets/generated
+ shell: bash
+
+ - name: sync translations
+ run: npm run generate:translations
+ shell: bash
+
+ - name: generate layeroverview
+ run: npm run reset:layeroverview
+ shell: bash
+
+ - name: run tests
+ run: npm run test
+ shell: bash
diff --git a/.gitignore b/.gitignore
index 3eea34f06..41f172fe8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,7 @@ node_modules
scratch
assets/editor-layer-index.json
assets/generated/*
-assets/generated/images/*
+src/assets/generated/
public/*.webmanifest
/*.html
!/index.html
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 26b59e881..8e1ede94e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -17,5 +17,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
- }
+ },
+ "editor.formatOnSave": true
}
diff --git a/404.html b/404.html
index 0ca7b4321..129c820db 100644
--- a/404.html
+++ b/404.html
@@ -49,7 +49,7 @@
Not found...
-
+