Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/yarn/tasks/run_alpine.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Install nodejs and yarn via apk
7 community.general.apk:
8 name:
9 - sqlite-libs
10 - nodejs
11 - yarn
12 state: latest
13 update_cache: true
14
15 # Clean up before running tests
16 - name: Remove any previous Nodejs modules
17 file:
18 path: '{{ remote_tmp_dir }}/node_modules'
19 state: absent
20
21 - include_tasks: tests.yml
22 vars:
23 node_bin_path: /usr/bin
24 yarn_bin_path: /usr/bin
25 package: 'iconv-lite'