add node js

This commit is contained in:
2025-07-14 08:19:08 +05:30
parent e968c718af
commit c27cf3d3e8

View File

@@ -7,11 +7,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: archlinux:latest container: archlinux:latest
steps: steps:
- name: Install node
run: pacman -Syu --noconfirm nodejs npm
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
pacman -Syu --noconfirm
pacman -S --noconfirm git python python-pip binutils pacman -S --noconfirm git python python-pip binutils
mv /lib/python3*/EXTERNALLY-MANAGED /tmp/ mv /lib/python3*/EXTERNALLY-MANAGED /tmp/
pip install --upgrade pip pip install --upgrade pip
@@ -31,11 +32,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: debian:stable-slim container: debian:stable-slim
steps: steps:
- name: Install node
run: apt-get update && apt-get upgrade -y && apt-get install -y nodejs npm
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
apt-get update && apt-get upgrade -y
apt-get install -y git python3 python3-pip binutils apt-get install -y git python3 python3-pip binutils
mv /usr/lib/python*/EXTERNALLY-MANAGED . /tmp/ mv /usr/lib/python*/EXTERNALLY-MANAGED . /tmp/
pip install pyinstaller inquirerpy distro pip install pyinstaller inquirerpy distro
@@ -54,11 +56,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: fedora:latest container: fedora:latest
steps: steps:
- name: Install node
run: dnf up -y && dnf install -y nodejs npm
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
dnf update -y
dnf install -y git python python-pip binutils dnf install -y git python python-pip binutils
pip install inquirerpy distro pyinstaller pip install inquirerpy distro pyinstaller
- name: Build binary - name: Build binary