Skip to content

Commit 7d75e10

Browse files
authored
Merge pull request #98 from shonenxnaifu/migrate-to-bun
update build
2 parents 2017c66 + 759af7c commit 7d75e10

File tree

4 files changed

+69
-1618
lines changed

4 files changed

+69
-1618
lines changed

.github/workflows/lint.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@ jobs:
1313
name: Linting
1414
runs-on: ubuntu-latest
1515
steps:
16-
# - name: Install NodeJS
17-
# uses: actions/setup-node@v2
18-
# with:
19-
# node-version: ${{ env.NODE_VERSION }}
20-
21-
- name: Install Bun
22-
uses: oven-sh/setup-bun@v2
16+
- name: Install NodeJS
17+
uses: actions/setup-node@v2
2318
with:
24-
bun-version: latest
19+
node-version: ${{ env.NODE_VERSION }}
20+
21+
# - name: Install Bun
22+
# uses: oven-sh/setup-bun@v2
23+
# with:
24+
# bun-version: latest
2525

2626
- name: Code Checkout
2727
uses: actions/checkout@v2
2828

2929
- name: Install Dependencies
30-
run: bun install --frozen-lockfile
30+
# run: bun install --frozen-lockfile
31+
run: npm install --legacy-peer-deps
3132

3233
- name: Code Linting
33-
run: bun run lint
34+
run: npm run lint

Dockerfile.dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM node:current-alpine AS dependency
22

33
WORKDIR /app
44
COPY package.json .
5-
COPY bun.lock .
6-
RUN npm ci -legacy-peer-deps
5+
COPY package-lock.json .
6+
RUN npm install --legacy-peer-deps
77

88
FROM node:current-alpine AS builder
99
WORKDIR /app

0 commit comments

Comments
 (0)