diff --git a/.github/workflows/build.yml.bak b/.github/workflows/build.yml.bak deleted file mode 100644 index db62832a..00000000 --- a/.github/workflows/build.yml.bak +++ /dev/null @@ -1,143 +0,0 @@ -name: Build - -on: - push: - branches: [main] - tags: - - "*" - paths-ignore: - - "**.md" - - "**.spec.js" - - ".idea" - - ".vscode" - - ".dockerignore" - - "Dockerfile" - - ".gitignore" - - ".github/**" - - "!.github/workflows/build.yml" - - "!.github/workflows/test.yml" - pull_request: - branches: [main] - paths-ignore: - - "**.md" - - "**.spec.js" - - ".idea" - - ".vscode" - - ".dockerignore" - - "Dockerfile" - - ".gitignore" - - ".github/**" - - "!.github/workflows/build.yml" - -permissions: - contents: write - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Run tests - run: npm run test - - - name: Run lint - run: npm run lint - - build: - needs: test - runs-on: ${{ matrix.os }} - container: ${{ matrix.docker_image }} - - strategy: - matrix: - os: [ubuntu-latest] - package: [deb, rpm] - architecture: [x64, arm64] - include: - - package: deb - docker_image: "debian:12" - - package: rpm - docker_image: "almalinux:8" - - steps: - - name: Install Build Dependencies - if: matrix.package == 'deb' - run: | - apt-get update - apt-get install -y curl git wget devscripts fakeroot equivs lintian python3 - apt-get install -y build-essential - - - name: Install Build Dependencies - if: matrix.package == 'rpm' - run: | - dnf install -y curl git wget rpm-build rpmdevtools rpmlint python3 - dnf group install -y "Development Tools" - - - name: Checkout Code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 20 - - - name: Install Dependencies - run: | - npm install - - - name: Download host-spawn - shell: bash - run: | - if [ "${{ matrix.architecture }}" == "x64" ]; then - curl -fsSL -o ./extras/host-spawn https://github.com/1player/host-spawn/releases/latest/download/host-spawn-x86_64 - elif [ "${{ matrix.architecture }}" == "arm64" ]; then - curl -fsSL -o ./extras/host-spawn https://github.com/1player/host-spawn/releases/latest/download/host-spawn-aarch64 - fi - chmod +x ./extras/host-spawn - - - name: Build Release Files - shell: bash - run: | - if [ "${{ matrix.package }}" == "deb" ]; then - npm run build:deb -- --${{ matrix.architecture }} - elif [ "${{ matrix.package }}" == "rpm" ]; then - npm run build:rpm -- --${{ matrix.architecture }} - fi - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload Artifact - uses: actions/upload-artifact@v6 - with: - name: release_for_${{ matrix.package }}_${{ matrix.architecture }} - path: release/**/*.${{ matrix.package }} - retention-days: 5 - - release: - needs: build - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') - steps: - - name: Download all artifacts - uses: actions/download-artifact@v7 - with: - path: artifacts - - - name: Upload to GitHub Release - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ github.ref_name }} - files: | - artifacts/**/*.deb - artifacts/**/*.rpm - generate_release_notes: true diff --git a/.github/workflows/test.yml.bak b/.github/workflows/test.yml.bak deleted file mode 100644 index e80198f5..00000000 --- a/.github/workflows/test.yml.bak +++ /dev/null @@ -1,83 +0,0 @@ -name: Test - -on: - push: - branches: [main, develop] - pull_request: - branches: [main, develop] - -jobs: - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Run unit tests - run: npm run test -- --coverage - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - files: ./coverage/lcov.info - flags: unittests - name: codecov-umbrella - - e2e-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Install Playwright Browsers - run: npx playwright install --with-deps chromium - - - name: Run E2E tests - run: xvfb-run npm run test:e2e - - - name: Upload test results - if: always() - uses: actions/upload-artifact@v6 - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 - - lint: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Run ESLint - run: npm run lint - - - name: Check formatting - run: npm run format -- --check diff --git a/debian/changelog b/debian/changelog index 6cdce229..b58e9000 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -spark-store (5.2.0~alpha1) UNRELEASED; urgency=medium +spark-store (5.2.0) UNRELEASED; urgency=medium * Initial release. (Closes: #nnnn) diff --git a/src/App.vue b/src/App.vue index 02fc5bd2..d4eceabe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -101,7 +101,7 @@