This commit is contained in:
@@ -16,27 +16,11 @@ jobs:
|
|||||||
- name: Node.js einrichten
|
- name: Node.js einrichten
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Python 2 installieren und verlinken
|
- name: Install Dependencies
|
||||||
run: |
|
run: yarn install --frozen-lockfile # Use npm install if using npm
|
||||||
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: Abhängigkeiten für node-gyp installieren
|
- name: Build Gatsby Site
|
||||||
run: |
|
run: yarn build # Runs Gatsby's production build
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user