This commit is contained in:
@@ -13,17 +13,23 @@ jobs:
|
||||
- name: Repository auschecken
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Node.js einrichten
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Python 2 installieren und verlinken
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python2
|
||||
sudo ln -sf /usr/bin/python2 /usr/bin/python
|
||||
|
||||
- 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: Node.js einrichten
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Abhängigkeiten installieren
|
||||
run: |
|
||||
npm install
|
||||
|
||||
Reference in New Issue
Block a user