chore: use node alpine image

This reverts commit 6624db1d49.
This commit is contained in:
kolaente 2022-09-21 20:51:17 +02:00
parent 62e227c767
commit dfb3561310
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -40,7 +40,7 @@ steps:
# - .cache # - .cache
- name: dependencies - name: dependencies
image: node:18 image: node:18-alpine
pull: true pull: true
environment: environment:
PNPM_CACHE_FOLDER: .cache/pnpm PNPM_CACHE_FOLDER: .cache/pnpm
@ -52,7 +52,7 @@ steps:
# - restore-cache # - restore-cache
- name: lint - name: lint
image: node:18 image: node:18-alpine
pull: true pull: true
environment: environment:
PNPM_CACHE_FOLDER: .cache/pnpm PNPM_CACHE_FOLDER: .cache/pnpm
@ -63,7 +63,7 @@ steps:
- dependencies - dependencies
- name: build-prod - name: build-prod
image: node:18 image: node:18-alpine
pull: true pull: true
environment: environment:
PNPM_CACHE_FOLDER: .cache/pnpm PNPM_CACHE_FOLDER: .cache/pnpm
@ -74,7 +74,7 @@ steps:
- dependencies - dependencies
- name: test-unit - name: test-unit
image: node:18 image: node:18-alpine
pull: true pull: true
commands: commands:
- corepack enable && corepack prepare pnpm@7.9.3 --activate && pnpm config set store-dir .cache/pnpm - corepack enable && corepack prepare pnpm@7.9.3 --activate && pnpm config set store-dir .cache/pnpm
@ -84,7 +84,7 @@ steps:
- name: typecheck - name: typecheck
failure: ignore failure: ignore
image: node:18 image: node:18-alpine
pull: true pull: true
environment: environment:
PNPM_CACHE_FOLDER: .cache/pnpm PNPM_CACHE_FOLDER: .cache/pnpm
@ -135,7 +135,7 @@ steps:
# - dependencies # - dependencies
- name: deploy-preview - name: deploy-preview
image: node:18 image: node:18-alpine
pull: true pull: true
environment: environment:
NETLIFY_AUTH_TOKEN: NETLIFY_AUTH_TOKEN:
@ -196,7 +196,7 @@ steps:
# - .cache # - .cache
- name: build - name: build
image: node:18 image: node:18-alpine
pull: true pull: true
group: build-static group: build-static
environment: environment:
@ -272,7 +272,7 @@ steps:
# - .cache # - .cache
- name: build - name: build
image: node:18 image: node:18-alpine
pull: true pull: true
group: build-static group: build-static
environment: environment: