install nodejs and npm before checkout
This commit is contained in:
@@ -14,12 +14,17 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
pacman -Syu --noconfirm
|
||||||
|
pacman -S --noconfirm nodejs npm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
@@ -50,12 +55,17 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: debian:stable
|
image: debian:stable
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
apt update && apt upgrade -y
|
||||||
|
apt install -y nodejs npm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update && apt upgrade -y
|
|
||||||
apt install -y git python3 python3-pip binutils
|
apt install -y git python3 python3-pip binutils
|
||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
@@ -85,12 +95,18 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
dnf up -y
|
||||||
|
dnf install -y nodejs npm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
dnf up -y && dnf install -y git python python-pip binutils
|
dnf install -y git python python-pip binutils
|
||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user