pnpm-role #35

Merged
noah.knegt merged 2 commits from pnpm-role into master 2023-06-01 12:22:16 +02:00
10 changed files with 33 additions and 2 deletions
Showing only changes of commit ce3207147e - Show all commits

View File

@@ -6,7 +6,7 @@
- name: Enable corepack
shell: corepack enable
when: node_version is version('16.0.0', '<')
when: node_version.stdout is version('16.0.0', '<')
- name: Verify corepack
shell: corepack --version
@@ -15,7 +15,7 @@
- name: Enable pnpm latest version
shell: corepack prepare pnpm@latest --activate
when: node_version is version('16.0.0', '<')
when: node_version.stdout is version('16.0.0', '<')
- name: Test pnpm
shell: pnpm --version

View File

@@ -19,6 +19,8 @@
roles:
- role: docker
- role: nvm
- role: node
- role: corepack
# Clean up the system
- hosts: datacenter