mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 16:52:12 +02:00
added a new role for setting up slidev
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: Install Node.js
|
||||
become: true
|
||||
pacman:
|
||||
name: nodejs
|
||||
state: latest
|
||||
- name: Install NPM
|
||||
become: true
|
||||
pacman:
|
||||
name: npm
|
||||
state: latest
|
||||
- name: Install Slidev globally through NPM
|
||||
community.general.npm:
|
||||
path: /$HOME/.local/lib/node_modules
|
||||
name: '@slidev/cli'
|
||||
- name: Install Slidev default theme globally through NPM
|
||||
community.general.npm:
|
||||
path: /$HOME/.local/lib/node_modules
|
||||
name: '@slidev/theme-default'
|
||||
- name: Install Playwright Chromium for Slidev globally through NPM
|
||||
community.general.npm:
|
||||
path: /$HOME/.local/lib/node_modules
|
||||
name: playwright-chromium
|
||||
Reference in New Issue
Block a user