Hi,
My build started to fail with the latest version of the nodejs docker image (circleci/node:latest). I didn’t change anything in the config or anywhere:
-
https://app.circleci.com/pipelines/github/Open-Attestation/schemata/27/workflows/8c3c4ae0-8549-4802-a55f-f7ffe2b59062/jobs/31 => this jobs fails
using image circleci/node@sha256:071121f4aa2e9428a61479222df712760d51247989fa80a293f06b3ad9d3fcb9
-
https://app.circleci.com/pipelines/github/Open-Attestation/schemata/27/workflows/aab884ef-0e09-4fea-ae17-21834e1c32b4/jobs/25 => this jobs works
using image circleci/node@sha256:4fbecf101d387eed16d4dae54d7df7db57d2b85749996a77c0be8b4b2dcedd4d
version: 2
jobs:
build:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- run:
name: install
command: npm ci
- run:
name: commitlint
command: npx --no-install commitlint-circle
- run:
name: lint
command: npm run lint
- run:
name: test
command: npm run test
- run:
name: build
command: npm run build
- run:
name: release
command: npx --no-install semantic-release
This is my config file, The issue happens because I generate a folder during installation phase (postinstall) and for some reason the folder is not available anymore for the following steps
Do i do something bad, or is there a problem with the image ? I did this for quite a long time and I never had any issues until now.