Compare commits

...

6 Commits

Author SHA1 Message Date
Matt Walsh
cab4219740 5.21.15 2025-06-04 23:39:42 -05:00
Matt Walsh
9252275436 star large font change to woff for size 2025-06-04 23:39:34 -05:00
Matt Walsh
9d1c21d8ef Merge pull request #103 from rmitchellscott/node24
chore: update dockerfile to Node 24 (LTS)
2025-06-04 21:13:22 -05:00
Matt Walsh
6473f167a8 Merge pull request #102 from rmitchellscott/docker-version-tags
chore: update docker build action, also run on tag action
2025-06-04 21:12:35 -05:00
Mitchell Scott
d280a5b3a9 chore: update dockerfile to Node 24 (LTS) 2025-06-04 14:29:16 -06:00
Mitchell Scott
b195ce042b chore: update docker build action, also run on tag action 2025-06-04 14:13:53 -06:00
11 changed files with 25 additions and 14 deletions

View File

@@ -1,5 +1,12 @@
name: build-docker name: build-docker
on: push
on:
push:
branches:
- main
tags:
- 'v*.*.*'
- 'v*.*'
jobs: jobs:
build: build:
@@ -13,7 +20,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v5
with: with:
images: | images: |
ghcr.io/netbymatt/ws4kp ghcr.io/netbymatt/ws4kp
@@ -27,18 +34,18 @@ jobs:
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=sha type=sha
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v3
- name: Set up Buildx - name: Set up Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push - name: Build and Push
id: docker_build id: docker_build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v6
with: with:
context: . context: .
pull: true pull: true

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine FROM node:24-alpine
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.21.14", "version": "5.21.15",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ws4kp", "name": "ws4kp",
"version": "5.21.14", "version": "5.21.15",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"dotenv": "^16.5.0", "dotenv": "^16.5.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.21.14", "version": "5.21.15",
"description": "Welcome to the WeatherStar 4000+ project page!", "description": "Welcome to the WeatherStar 4000+ project page!",
"main": "index.mjs", "main": "index.mjs",
"type": "module", "type": "module",

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -9,6 +9,7 @@
width: 255px; width: 255px;
display: inline-block; display: inline-block;
margin-top: 10px; margin-top: 10px;
padding-top: 10px;
position: absolute; position: absolute;
@include u.text-shadow(); @include u.text-shadow();
@@ -92,7 +93,9 @@
color: c.$title-color; color: c.$title-color;
max-height: 32px; max-height: 32px;
margin-bottom: 10px; margin-bottom: 10px;
padding-top: 4px;
overflow: hidden; overflow: hidden;
text-wrap: nowrap;
} }
} }
} }

View File

@@ -288,7 +288,7 @@ body {
@font-face { @font-face {
font-family: 'Star4000 Large'; font-family: 'Star4000 Large';
src: url('../fonts/Star4000 Large.ttf') format('truetype'); src: url('../fonts/Star4000 Large.woff') format('woff');
font-display: swap; font-display: swap;
} }

View File

@@ -38,6 +38,7 @@
.temp { .temp {
font-family: 'Star4000 Large'; font-family: 'Star4000 Large';
font-size: 28px; font-size: 28px;
padding-top: 2px;
color: c.$title-color; color: c.$title-color;
top: 28px; top: 28px;
text-align: right; text-align: right;

View File

@@ -20,7 +20,7 @@
<meta property="og:image:height" content="627"> <meta property="og:image:height" content="627">
<link rel="prefetch" href="fonts/Star4000.woff" as="font" type="font/woff" crossorigin> <link rel="prefetch" href="fonts/Star4000.woff" as="font" type="font/woff" crossorigin>
<link rel="prefetch" href="fonts/Star4000 Extended.woff" as="font" type="font/woff" crossorigin> <link rel="prefetch" href="fonts/Star4000 Extended.woff" as="font" type="font/woff" crossorigin>
<link rel="prefetch" href="fonts/Star4000 Large.ttf" as="font" type="font/ttf" crossorigin> <link rel="prefetch" href="fonts/Star4000 Large.woff" as="font" type="font/woff" crossorigin>
<link rel="prefetch" href="fonts/Star4000 Small.woff" as="font" type="font/woff" crossorigin> <link rel="prefetch" href="fonts/Star4000 Small.woff" as="font" type="font/woff" crossorigin>
<% if (production) { %> <% if (production) { %>