Skip to content

Commit

Permalink
chore: use nodejs 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaaaash committed Sep 19, 2024
1 parent 1071cd9 commit e289148
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- name: Run CI
run: |
yarn
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:14 as builder
FROM node:18 as builder

# 用户工作空间,用于打包到前端工作空间地址
ENV WORKSPACE_DIR workspace
Expand All @@ -16,7 +16,7 @@ RUN yarn --ignore-scripts --network-timeout 1000000 && \
yarn run download:extensions && \
rm -rf ./node_modules

FROM node:14 as app
FROM node:18 as app

ENV WORKSPACE_DIR /workspace
ENV EXTENSION_DIR /root/.sumi/extensions
Expand Down

0 comments on commit e289148

Please sign in to comment.