Skip to content

Commit

Permalink
bump node versions for build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed May 28, 2024
1 parent cc7572e commit b4029c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-latest-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# setup global dependencies
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 21
- run: npm install -g pkg

# build server project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# setup global dependencies
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 21
registry-url: "https://registry.npmjs.org"
- run: npm install -g pkg

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 21
- run: npm install -g pkg

- run: npm install
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build-server env
FROM node:20-slim AS build-server-env
FROM node:21-slim AS build-server-env
WORKDIR /build
COPY package*.json ./
RUN npm install
Expand All @@ -10,7 +10,7 @@ COPY ./src src
RUN npm run bundle

# build-client env
FROM node:20-slim AS build-client-env
FROM node:21-slim AS build-client-env
WORKDIR /build
COPY faucet-client/package*.json ./faucet-client/
COPY ./libs libs
Expand Down
1 change: 0 additions & 1 deletion faucet-client/src/components/shared/FaucetDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { ReactElement } from 'react';
import { Button, Modal } from 'react-bootstrap';
import 'bootstrap/js/dist/modal';

export interface IFaucetDialogProps {
title: string;
Expand Down

0 comments on commit b4029c3

Please sign in to comment.