Skip to content

Commit

Permalink
feat: update versions
Browse files Browse the repository at this point in the history
ci: update ci action version
build: update docker base image versions
docs: update readme + license copyright
feat: update dependencies
  • Loading branch information
Trickfilm400 committed Feb 20, 2024
1 parent 608eef8 commit ba1a794
Show file tree
Hide file tree
Showing 7 changed files with 1,138 additions and 979 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -42,11 +42,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -56,7 +56,7 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
tags: |
type=sha,prefix=sha-
Expand All @@ -66,7 +66,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine3.18 AS builder
FROM node:20-alpine3.19 AS builder

WORKDIR /build

Expand All @@ -18,7 +18,7 @@ RUN npm ci --omit=dev --audit=false --fund=false

######################################################################

FROM node:18-alpine3.18
FROM node:20-alpine3.19

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 Trickfilm400
Copyright (c) 2022-2024 Trickfilm400

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit ba1a794

Please sign in to comment.