Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 22
cache: "npm"
- run: npm ci
- run: npm run format:check
- run: npm run lint
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2
- run: pnpm install --frozen-lockfile
- run: pnpm run format:check
- run: pnpm run lint
6 changes: 3 additions & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -31,7 +31,7 @@ jobs:
images: ${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm run format:check
pnpm run format:check
3 changes: 3 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tools]
node = "24.12.0"
pnpm = "10.30.3"
2 changes: 0 additions & 2 deletions .nvmrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

node_modules/
target/
pnpm-lock.yaml
18 changes: 7 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
FROM node:24.12.0-alpine

ARG NVM_VERSION=v0.40.1
ENV PATH="/root/.local/bin:${PATH}"

RUN apk --no-cache add bash git vim

# NVM
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/${NVM_VERSION}/install.sh | bash

# devbox
RUN mkdir -p ~/sources \
RUN apk --no-cache add bash git vim curl \
&& curl https://mise.run | sh \
&& mkdir -p ~/sources \
&& git clone --recursive https://github.com/viqueen/devbox.git ~/sources/devbox \
&& cd ~/sources/devbox \
&& mise install \
&& ./setup.sh config_box \
&& ./setup.sh config_prompt \
&& ./setup.sh config_vim \
&& npm ci

RUN addgroup -S nonroot \
&& pnpm install --frozen-lockfile \
&& addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
8 changes: 0 additions & 8 deletions cli/.nodevmrc

This file was deleted.

Loading
Loading