updated
Some checks failed
My Gatsby Deployment pipeline / build (push) Failing after 10s

This commit is contained in:
2025-03-15 21:42:28 +01:00
parent 868b74d630
commit 64efafe26f

View File

@@ -16,27 +16,11 @@ jobs:
- name: Node.js einrichten
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'yarn'
- name: Python 2 installieren und verlinken
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python2.7
sudo ln -sf /usr/bin/python2.7 /usr/bin/python
- name: Install Dependencies
run: yarn install --frozen-lockfile # Use npm install if using npm
- name: Abhängigkeiten für node-gyp installieren
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip build-essential
npm install -g node-gyp
- name: Abhängigkeiten installieren
run: |
npm install
- name: Gatsby Build
run: |
npm run build
- name: Build Gatsby Site
run: yarn build # Runs Gatsby's production build