mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
ci: use node 18 as default (#2786)
This commit is contained in:
parent
4b36610654
commit
c2948b1900
3 changed files with 2 additions and 11 deletions
1
.github/workflows/integration-test.yml
vendored
1
.github/workflows/integration-test.yml
vendored
|
@ -55,7 +55,6 @@ jobs:
|
|||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: 18
|
||||
run-install: false
|
||||
|
||||
# Setup integration test
|
||||
|
|
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -20,8 +20,6 @@ jobs:
|
|||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Build
|
||||
run: pnpm ci:build
|
||||
|
@ -34,8 +32,6 @@ jobs:
|
|||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Prepack
|
||||
run: pnpm prepack
|
||||
|
@ -54,8 +50,6 @@ jobs:
|
|||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Build for test
|
||||
run: pnpm -r build:test
|
||||
|
@ -101,8 +95,6 @@ jobs:
|
|||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Build
|
||||
run: pnpm prepack
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Build stage
|
||||
FROM node:16-alpine as builder
|
||||
FROM node:18-alpine as builder
|
||||
WORKDIR /etc/logto
|
||||
ENV CI=true
|
||||
|
||||
|
@ -28,7 +28,7 @@ RUN NODE_ENV=production pnpm i
|
|||
RUN rm -rf .parcel-cache pnpm-*.yaml
|
||||
|
||||
# Seal stage
|
||||
FROM node:16-alpine as app
|
||||
FROM node:18-alpine as app
|
||||
WORKDIR /etc/logto
|
||||
COPY --from=builder /etc/logto .
|
||||
EXPOSE 3001
|
||||
|
|
Loading…
Add table
Reference in a new issue