Skip to content

Commit 4515bd2

Browse files
committed
Add today in history column; upgrade deps; add build+push image
1 parent faee906 commit 4515bd2

File tree

15 files changed

+675
-612
lines changed

15 files changed

+675
-612
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build and push image
2+
3+
on: workflow_dispatch
4+
5+
env:
6+
IMAGE_NAME: relistennet/relisten-web # <‑‑ repo/image name in the registry
7+
REGISTRY: 100.97.22.118:32000
8+
TAG: latest
9+
10+
jobs:
11+
12+
build_push_and_rollout_restart:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Tailscale
19+
uses: tailscale/github-action@v3
20+
with:
21+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
22+
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
23+
use-cache: 'true'
24+
tags: tag:ci
25+
version: latest
26+
27+
- name: Set up Docker Buildx
28+
uses: docker/setup-buildx-action@v3
29+
with:
30+
buildkitd-config-inline: |
31+
[registry."${{ env.REGISTRY }}"]
32+
http = true
33+
insecure = true
34+
35+
- name: Build and push image
36+
uses: docker/build-push-action@v5
37+
with:
38+
context: .
39+
platforms: linux/amd64 # x86_64
40+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
41+
push: true
42+
43+
- uses: actions-hub/kubectl@master
44+
env:
45+
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
46+
with:
47+
args: rollout restart deployment relisten-web
48+

.github/workflows/node.js.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
11
import main from '@switz/eslint-config/eslint.config.mjs';
2-
import mdx from '@switz/eslint-config/mdx.mjs';
32
import react from '@switz/eslint-config/react.mjs';
4-
import typescript from '@switz/eslint-config/typescript.mjs';
53

6-
export default [...react, ...mdx, ...typescript, ...main];
7-
8-
// module.exports = {
9-
// extends: ['@switz/eslint-config/react.cjs', '@switz/eslint-config/typescript.cjs'],
10-
// root: true,
11-
// rules: {
12-
// 'react/display-name': 1,
13-
// 'react/no-unknown-property': [
14-
// 2,
15-
// {
16-
// ignore: ['jsx', 'global'],
17-
// },
18-
// ],
19-
// },
20-
// globals: {
21-
// io: 'readonly',
22-
// NodeJS: true,
23-
// },
24-
// };
4+
export default [...main, ...react];

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,43 +14,43 @@
1414
"author": "Daniel Saewitz",
1515
"license": "MIT",
1616
"dependencies": {
17-
"@floating-ui/react": "^0.27.6",
17+
"@floating-ui/react": "^0.27.7",
1818
"@reduxjs/toolkit": "^1.9.5",
19-
"@tanstack/react-query": "^5.72.0",
20-
"@tanstack/react-query-devtools": "^5.72.0",
21-
"@tanstack/react-query-next-experimental": "^5.72.0",
19+
"@tanstack/react-query": "^5.74.4",
20+
"@tanstack/react-query-devtools": "^5.74.4",
21+
"@tanstack/react-query-next-experimental": "^5.74.4",
2222
"@types/react-redux": "^7.1.33",
2323
"@vercel/og": "^0.6.8",
2424
"clsx": "^2.1.1",
25-
"framer-motion": "12.6.3",
25+
"framer-motion": "12.7.4",
2626
"isomorphic-fetch": "3.0.0",
27-
"ky": "^1.8.0",
27+
"ky": "^1.8.1",
2828
"ky-universal": "^0.12.0",
29-
"lucide-react": "^0.487.0",
30-
"next": "15.2.4",
29+
"lucide-react": "^0.503.0",
30+
"next": "15.3.1",
3131
"next-redux-wrapper": "8.1.0",
3232
"next-zod-route": "^0.2.5",
3333
"nextjs-toploader": "^3.8.16",
3434
"node-device-detector": "^2.1.0",
35-
"react": "19.0.0",
36-
"react-dom": "19.0.0",
35+
"react": "19.1.0",
36+
"react-dom": "19.1.0",
3737
"react-redux": "^8.1.2",
38-
"react-timeago": "^7.2.0",
38+
"react-timeago": "^8.2.0",
3939
"redux": "^4.2.1",
4040
"tailwind-merge": "^3.2.0",
4141
"thenby": "^1.3.4",
4242
"ua-parser-js": "^1.0.37",
43-
"zod": "^3.24.2"
43+
"zod": "^3.24.3"
4444
},
4545
"devDependencies": {
46-
"@switz/eslint-config": "^12.3.0",
47-
"@tailwindcss/postcss": "^4.1.3",
48-
"@types/node": "^22.14.0",
49-
"@types/react": "19.1.0",
46+
"@switz/eslint-config": "^12.3.2",
47+
"@tailwindcss/postcss": "^4.1.4",
48+
"@types/node": "^22.14.1",
49+
"@types/react": "19.1.2",
5050
"@types/ua-parser-js": "^0.7.39",
51-
"eslint": "^9.24.0",
51+
"eslint": "^9.25.0",
5252
"postcss": "^8.4.38",
53-
"tailwindcss": "^4.1.3",
53+
"tailwindcss": "^4.1.4",
5454
"typescript": "^5.8.3"
5555
},
5656
"pnpm": {

0 commit comments

Comments
 (0)