ci(release): move to node 18 image
SWC is not working anymore in alpine arm/v7
This commit is contained in:
parent
52e275b1ec
commit
4e19aad2f0
4 changed files with 11 additions and 4 deletions
|
@ -1,9 +1,12 @@
|
|||
FROM alpine:3.16.0 as app
|
||||
FROM node:18
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
WORKDIR /
|
||||
|
||||
# Install dependencies
|
||||
RUN apk --no-cache add docker-compose nodejs npm bash git
|
||||
RUN apt update && apt install -y bash git g++ make
|
||||
# Install docker-compose
|
||||
RUN apt install -y docker-compose
|
||||
|
||||
RUN npm install node-gyp -g
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/swcrc",
|
||||
"jsc": {
|
||||
"parser": {
|
||||
"syntax": "typescript",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"lint:fix": "eslint . --ext .ts --fix",
|
||||
"test": "jest --colors",
|
||||
"test:watch": "jest --watch",
|
||||
"build": "rm -rf dist && swc ./src --ignore **/*.test.* -d dist",
|
||||
"build": "rm -rf dist && swc ./src -d dist",
|
||||
"build:watch": "swc ./src -d dist --watch",
|
||||
"start:dev": "NODE_ENV=development && nodemon --experimental-specifier-resolution=node --trace-deprecation --trace-warnings --watch dist dist/server.js",
|
||||
"dev": "concurrently \"npm run build:watch\" \"npm run start:dev\"",
|
||||
|
@ -55,6 +55,7 @@
|
|||
"tcp-port-used": "^1.0.2",
|
||||
"type-graphql": "^1.1.1",
|
||||
"typeorm": "^0.3.6",
|
||||
"validator": "^13.7.0",
|
||||
"winston": "^3.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
|
@ -191,6 +191,7 @@ importers:
|
|||
type-graphql: ^1.1.1
|
||||
typeorm: ^0.3.6
|
||||
typescript: 4.6.4
|
||||
validator: ^13.7.0
|
||||
winston: ^3.7.2
|
||||
dependencies:
|
||||
apollo-server-core: 3.10.0_graphql@15.8.0
|
||||
|
@ -223,6 +224,7 @@ importers:
|
|||
tcp-port-used: 1.0.2
|
||||
type-graphql: 1.1.1_v2revtygxcm7xrdg2oz3ssohfu
|
||||
typeorm: 0.3.6_pg@8.7.3+ts-node@10.8.2
|
||||
validator: 13.7.0
|
||||
winston: 3.7.2
|
||||
devDependencies:
|
||||
'@faker-js/faker': 7.3.0
|
||||
|
@ -6396,7 +6398,7 @@ packages:
|
|||
eslint-import-resolver-webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.22.0_uhoeudlwl7kc47h4kncsfowede
|
||||
'@typescript-eslint/parser': 5.22.0_hcfsmds2fshutdssjqluwm76uu
|
||||
debug: 3.2.7
|
||||
eslint-import-resolver-node: 0.3.6
|
||||
find-up: 2.1.0
|
||||
|
|
Loading…
Add table
Reference in a new issue