Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
node:18 is a workaround for npm/cli/issues/7076
  • Loading branch information
determ1ne committed Apr 17, 2024
1 parent ebd0056 commit 024f9e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 6 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
image: node:lts-bullseye
image:
name: node:18
pull_policy: if-not-present

stages:
- build
Expand All @@ -10,10 +12,10 @@ gatsby-build:
CHOKIDAR_USEPOLLING: 1
cache:
paths:
- node_modules/
- .npm/
script:
- bash cached-restore.sh
- yarn run build
- npm ci --cache .npm --prefer-offline
- npm run build
artifacts:
paths:
- public
Expand Down
10 changes: 0 additions & 10 deletions cached-restore.sh

This file was deleted.

0 comments on commit 024f9e0

Please sign in to comment.