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