Gitlab default .gitlab-ci.yml not working. (FATAL: file does not exist)

I added the .gitlab-ci.yml file provided in the Expo ‘Setting up Continuous Integration’ docs.

---
image: node:alpine
cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
    - ~/.npm
stages:
  - test
before_script:
  - npm ci
jest-tests:
  stage: test
  script:
    - npx jest --ci

And got the following error in the corresponding Gitlab job:

FATAL: file does not exist
[31](https://gitlab.com/project9a-labs/redpoint_client/-/jobs/433786117#L31) Failed to extract cache

Please run expo diagnostics and paste the log that’s printed out along with your question or issue!

  System:
    OS: macOS 10.14.4
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
  IDEs:
    Android Studio: 2.3 AI-162.3871768
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    expo: ^36.0.2 => 36.0.2 
    react: 16.9.0 => 16.9.0 
    react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz => 0.61.4 
    react-navigation: ^3.11.1 => 3.13.0 
  npmGlobalPackages:
    expo-cli: 3.11.7```

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.