Skip to content

Commit

Permalink
fix: updated dependencies (#19)
Browse files Browse the repository at this point in the history
* fix: updated dependencies

* ci: specified node v20

* chore: bump package json version
  • Loading branch information
karl-cardenas-coding authored Jul 11, 2024
1 parent fdadc81 commit 354722a
Show file tree
Hide file tree
Showing 8 changed files with 28,514 additions and 45,262 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
target-branch: "master"
commit-message:
prefix: "chore:"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
target-branch: "master"
commit-message:
prefix: "chore:"
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: "20"

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: "20"

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: "20"

- name: Install dependencies
run: npm ci
Expand Down
64 changes: 30 additions & 34 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test

on:
pull_request:
types: ['synchronize', 'opened', 'reopened', 'ready_for_review']
types: ["synchronize", "opened", "reopened", "ready_for_review"]
branches:
- main
- main

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -25,19 +25,17 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: "20"

- name: Install dependencies
run: npm ci


- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2


- name: Login to GHCR
uses: docker/login-action@v1
with:
Expand All @@ -57,38 +55,36 @@ jobs:
name: "Docker Dev w/Proxy image"
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: npm ci
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Install dependencies
run: npm ci

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.Caddy
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:dev-proxy
- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.Caddy
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:dev-proxy
3 changes: 3 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Catch All Rule

- @spectrocloud/education-engineers
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS modules
FROM node:20-alpine AS modules
WORKDIR /app
COPY . .
RUN adduser -u 1002 -h /home/appuser -D appuser appuser && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.Caddy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS modules
FROM node:20-alpine AS modules
WORKDIR /app
COPY . .
RUN adduser -u 1002 -h /home/appuser -D appuser appuser && \
Expand Down
Loading

0 comments on commit 354722a

Please sign in to comment.