Skip to content

Commit

Permalink
Merge pull request #7 from asajaroff/feature/nvm
Browse files Browse the repository at this point in the history
Adding node.js install step to `make`
  • Loading branch information
asajaroff authored Feb 19, 2022
2 parents e60680a + 906a966 commit 0a583d6
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/make-manual-call.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Makefile manual execution

on:
workflow_call:
inputs:
step:
description: 'Step within the Makefile to execute'
default: 'help'
required: true
type: string

jobs:
print-username:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Execute inputed step
run: make ${{ inputs.step }}

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Make all targets
name: Makefile execution

# Run this workflow every time a new commit pushed to your repository
on:
Expand All @@ -19,16 +19,18 @@ jobs:
with:
version: 27.1
- uses: actions/checkout@v2
- name: 'Private repository'
- name: 'Clone private repos'
run: git submodule update --init --recursive
continue-on-error: true
- uses: actions/checkout@v2
- name: 'Bash shell config'
- name: 'make shells'
run: make shells
- uses: actions/checkout@v2
- name: 'kubernetes utils'
- name: 'make kubernetes'
run: make kubernetes
- uses: actions/checkout@v2
- name: 'neovim install'
- name: 'make neovim'
run: make neovim

- uses: actions/checkout@v2
- name: 'make nodejs'
run: make nodejs
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,11 @@ neovim-plugins: ## Install Plug for neovim

clean: ## Render a destructive statement
@echo "rm -rf ${DOTFILES_DIR}"

#
# Programming utils
#

# nvm
nodejs:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

0 comments on commit 0a583d6

Please sign in to comment.