This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user