Skip to content

Commit

Permalink
Merge pull request #112 from SkyCryptWebsite/dev
Browse files Browse the repository at this point in the history
Refactor and enhance stats tracking for various game features
  • Loading branch information
DarthGigi authored Feb 6, 2025
2 parents 7f9220c + e7157ca commit 3b1d4da
Show file tree
Hide file tree
Showing 48 changed files with 1,916 additions and 362 deletions.
39 changes: 38 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
paths: ["src/**", ".github/workflows/website.yml"]

env:
NODE_VERSION: "22"
CONTAINER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

Expand Down Expand Up @@ -82,3 +81,41 @@ jobs:
- name: Svelte Build
run: pnpm run build

package:
name: Package into Container
if: |
(github.ref == 'refs/heads/prod' || github.ref == 'refs/heads/dev')
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'
needs: [conflicts, analyze, formatting-checks, build]
runs-on: ubuntu-latest

permissions:
packages: write
contents: read

steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Registry login
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and Push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"@eslint/compat": "^1.2.6",
"@eslint/js": "^9.19.0",
"@sveltejs/adapter-node": "^5.2.12",
"@sveltejs/kit": "^2.16.1",
"@sveltejs/kit": "^2.17.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/vite": "^4.0.3",
"@tailwindcss/vite": "^4.0.4",
"@types/eslint": "^9.6.1",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.15",
"@types/micromatch": "^4.0.9",
"@types/mongo-sanitize": "^1.0.3",
"@types/node": "^22.13.0",
"@types/node": "^22.13.1",
"@types/relaxed-json": "^1.0.4",
"@types/upng-js": "^2.1.5",
"bits-ui": "^0.22.0",
Expand All @@ -55,7 +55,7 @@
"simple-git": "^3.27.0",
"skinview3d": "^3.1.0",
"skyhelper-networth": "^1.27.1",
"svelte": "5.19.6",
"svelte": "5.19.8",
"svelte-check": "^4.1.4",
"svelte-dnd-action": "^0.9.57",
"svelte-interactions": "^0.2.0",
Expand All @@ -66,14 +66,14 @@
"svelte-tiny-virtual-list": "^2.1.2",
"sveltekit-superforms": "^2.23.1",
"tailwind-merge": "^3.0.1",
"tailwindcss": "^4.0.3",
"tailwindcss": "^4.0.4",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"typescript-eslint": "^8.23.0",
"upng-js": "^2.1.0",
"util": "^0.12.5",
"vaul-svelte": "1.0.0-next.3",
"vite": "^6.0.11",
"vite": "^6.1.0",
"zod": "^3.24.1"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 3b1d4da

Please sign in to comment.